#CB26F6

Closest named color: Hot Purple (#CB00F5). oklch(63% 0.287 317.6), rgb(203, 38, 246).

Aa

Black text reads best on this color (5.14:1).

About this color

#CB26F6 is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.287 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Hot Purple (#CB00F5), ΔE 0.018 away. Black text reads best on it, at 5.14:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.287)
Temperaturein between
Nearest nameHot Purple (#CB00F5)
Black text5.14:1
White text4.07:1

Values

HEX#CB26F6
RGBrgb(203, 38, 246)
HSLhsl(288, 92%, 56%)
OKLCHoklch(63% 0.287 317.6)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #CB26F6 4.07:1 AA large text Lc -71.7 Content text, not long reading
Black text on #CB26F6 5.14:1 AA Lc 37.9 Non-text elements, placeholder text
#CB26F6 text on white 4.07:1 AA large text Lc 66.2 Content text, not long reading
#CB26F6 text on black 5.14:1 AA Lc -35.5 Non-text elements, placeholder text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 500.

  1. Step 50

    50

    #FBF2FE

    oklch(97.2% 0.018 317.7)

  2. Step 100

    100

    #F5E2FC

    oklch(93.6% 0.04 317)

  3. Step 200

    200

    #EFCAFB

    oklch(88.6% 0.077 317.8)

  4. Step 300

    300

    #E6A3FC

    oklch(81% 0.14 317.6)

  5. Step 400

    400

    #D768FA

    oklch(70.6% 0.225 317.3)

  6. Step 500

    500 (this color)

    #CB26F6

    oklch(63% 0.287 317.6)

  7. Step 600

    600

    #AF00D6

    oklch(55.6% 0.27 317.7)

  8. Step 700

    700

    #9400B6

    oklch(49.2% 0.239 317.5)

  9. Step 800

    800

    #7A0096

    oklch(42.7% 0.207 317.7)

  10. Step 900

    900

    #66007F

    oklch(37.7% 0.184 317.2)

  11. Step 950

    950

    #3C084B

    oklch(27% 0.118 317)

Export this scale for Tailwind in the Tailwind colors tool

#CB26F6 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#0074FB0.261
Deuteranopia (no green cones)#2D82F20.254
Tritanopia (no blue cones)#C95C940.179
Achromatopsia (no color)#7E7E7E0.289

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #CB26F6

    #CB26F6

    oklch(63% 0.287 317.6)

  • #45A200

    #45A200

    oklch(63% 0.193 137.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB26F6

    #CB26F6

    oklch(63% 0.287 317.6)

  • #876BFF

    #876BFF

    oklch(63.1% 0.211 287.5)

  • #EF00A6

    #EF00A6

    oklch(63.1% 0.266 347.6)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #CB26F6

    #CB26F6

    oklch(63% 0.287 317.6)

  • #928E00

    #928E00

    oklch(63% 0.136 107.7)

  • #00A179

    #00A179

    oklch(62.9% 0.128 167.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB26F6

    #CB26F6

    oklch(63% 0.287 317.6)

  • #B57D00

    #B57D00

    oklch(63.1% 0.132 77.3)

  • #009DA0

    #009DA0

    oklch(63.1% 0.107 197.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB26F6

    #CB26F6

    oklch(63% 0.287 317.6)

  • #D96000

    #D96000

    oklch(63% 0.173 47.6)

  • #45A200

    #45A200

    oklch(63% 0.193 137.5)

  • #0097C3

    #0097C3

    oklch(63.1% 0.123 227.5)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #CB26F6, closest first.

No curated palette has a color within ΔE 0.04 of #CB26F6.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #CB26F6 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.