#CB7FEC

Closest named color: Light Purple (#BF77F6). oklch(71.7% 0.17 314.9), rgb(203, 127, 236).

Aa

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

About this color

#CB7FEC is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.170 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.034 away. Black text reads best on it, at 7.78:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.170)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.78:1
White text2.69:1

Values

HEX#CB7FEC
RGBrgb(203, 127, 236)
HSLhsl(282, 74%, 71%)
OKLCHoklch(71.7% 0.17 314.9)

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 #CB7FEC 2.69:1 Fails Lc -57.3 Large or bold text, headings
Black text on #CB7FEC 7.78:1 AAA Lc 52.0 Large or bold text, headings
#CB7FEC text on white 2.69:1 Fails Lc 52.1 Large or bold text, headings
#CB7FEC text on black 7.78:1 AAA Lc -49.8 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F2E4F8

    oklch(93.6% 0.031 315.9)

  3. Step 200

    200

    #E8CEF5

    oklch(88.5% 0.06 314.5)

  4. Step 300

    300

    #DBACF0

    oklch(81% 0.106 315.2)

  5. Step 400

    400 (this color)

    #CB7FEC

    oklch(71.7% 0.17 314.9)

  6. Step 500

    500

    #B954E1

    oklch(63.1% 0.217 315)

  7. Step 600

    600

    #A42FCF

    oklch(55.5% 0.236 314.8)

  8. Step 700

    700

    #8D1EB3

    oklch(49.1% 0.22 315.1)

  9. Step 800

    800

    #721D91

    oklch(42.6% 0.182 314.8)

  10. Step 900

    900

    #5D2174

    oklch(37.8% 0.142 315.1)

  11. Step 950

    950

    #361544

    oklch(27% 0.09 314.5)

Export this scale for Tailwind in the Tailwind colors tool

#CB7FEC 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)#6999F00.145
Deuteranopia (no green cones)#7FA0E90.130
Tritanopia (no blue cones)#C98FAA0.115
Achromatopsia (no color)#9D9D9D0.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #CB7FEC

    #CB7FEC

    oklch(71.7% 0.17 314.9)

  • #72BA41

    #72BA41

    oklch(71.6% 0.171 134.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB7FEC

    #CB7FEC

    oklch(71.7% 0.17 314.9)

  • #9B94FF

    #9B94FF

    oklch(71.8% 0.153 284.8)

  • #EC73BC

    #EC73BC

    oklch(71.8% 0.17 345.1)

Open the analogous palette in the generator

Split complementary

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

  • #CB7FEC

    #CB7FEC

    oklch(71.7% 0.17 314.9)

  • #B3A800

    #B3A800

    oklch(71.8% 0.152 104.9)

  • #00C18C

    #00C18C

    oklch(71.8% 0.151 164.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB7FEC

    #CB7FEC

    oklch(71.7% 0.17 314.9)

  • #DA9300

    #DA9300

    oklch(71.6% 0.151 74.7)

  • #00BBBB

    #00BBBB

    oklch(71.7% 0.122 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB7FEC

    #CB7FEC

    oklch(71.7% 0.17 314.9)

  • #F87B3C

    #F87B3C

    oklch(71.7% 0.171 45)

  • #72BA41

    #72BA41

    oklch(71.6% 0.171 134.9)

  • #00B4E3

    #00B4E3

    oklch(71.6% 0.136 225.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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