#CB34EB

Closest named color: Purple Pink (#D725DE). oklch(63.1% 0.268 319.7), rgb(203, 52, 235).

Aa

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

About this color

#CB34EB is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.268 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple Pink (#D725DE), ΔE 0.032 away. Black text reads best on it, at 5.23:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.268)
Temperaturein between
Nearest namePurple Pink (#D725DE)
Black text5.23:1
White text4.01:1

Values

HEX#CB34EB
RGBrgb(203, 52, 235)
HSLhsl(290, 82%, 56%)
OKLCHoklch(63.1% 0.268 319.7)

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 #CB34EB 4.01:1 AA large text Lc -71.5 Content text, not long reading
Black text on #CB34EB 5.23:1 AA Lc 38.1 Non-text elements, placeholder text
#CB34EB text on white 4.01:1 AA large text Lc 66.0 Content text, not long reading
#CB34EB text on black 5.23:1 AA Lc -35.7 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

    #FBF2FD

    oklch(97.1% 0.017 320.1)

  2. Step 100

    100

    #F6E2FA

    oklch(93.6% 0.038 320.6)

  3. Step 200

    200

    #EFCAF8

    oklch(88.5% 0.074 319.6)

  4. Step 300

    300

    #E6A4F5

    oklch(80.9% 0.131 320)

  5. Step 400

    400

    #D76CF0

    oklch(70.6% 0.21 319.7)

  6. Step 500

    500 (this color)

    #CB34EB

    oklch(63.1% 0.268 319.7)

  7. Step 600

    600

    #B200D1

    oklch(55.7% 0.267 319.8)

  8. Step 700

    700

    #9600B1

    oklch(49.1% 0.236 319.7)

  9. Step 800

    800

    #7C0092

    oklch(42.7% 0.205 319.9)

  10. Step 900

    900

    #670779

    oklch(37.7% 0.175 320)

  11. Step 950

    950

    #3C0B47

    oklch(26.9% 0.111 319.4)

Export this scale for Tailwind in the Tailwind colors tool

#CB34EB 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)#0075F00.257
Deuteranopia (no green cones)#4584E70.236
Tritanopia (no blue cones)#CB5C900.164
Achromatopsia (no color)#7F7F7F0.270

Harmonies

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

Complementary

The opposite hue (180°).

  • #CB34EB

    #CB34EB

    oklch(63.1% 0.268 319.7)

  • #34A400

    #34A400

    oklch(63% 0.202 139.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB34EB

    #CB34EB

    oklch(63.1% 0.268 319.7)

  • #8C68FF

    #8C68FF

    oklch(63.1% 0.214 289.8)

  • #F100A0

    #F100A0

    oklch(63.2% 0.264 349.8)

Open the analogous palette in the generator

Split complementary

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

  • #CB34EB

    #CB34EB

    oklch(63.1% 0.268 319.7)

  • #909000

    #909000

    oklch(63.2% 0.138 109.8)

  • #00A17D

    #00A17D

    oklch(63% 0.125 169.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB34EB

    #CB34EB

    oklch(63.1% 0.268 319.7)

  • #B37F00

    #B37F00

    oklch(63.2% 0.131 79.8)

  • #009DA3

    #009DA3

    oklch(63.2% 0.108 199.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB34EB

    #CB34EB

    oklch(63.1% 0.268 319.7)

  • #D66400

    #D66400

    oklch(63.2% 0.167 50)

  • #34A400

    #34A400

    oklch(63% 0.202 139.7)

  • #0096C6

    #0096C6

    oklch(63% 0.126 229.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

Use #CB34EB 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.