#CB7FF8

Closest named color: Light Purple (#BF77F6). oklch(72.3% 0.184 311.6), rgb(203, 127, 248).

Aa

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

About this color

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

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

Values

HEX#CB7FF8
RGBrgb(203, 127, 248)
HSLhsl(278, 90%, 74%)
OKLCHoklch(72.3% 0.184 311.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 #CB7FF8 2.64:1 Fails Lc -56.4 Large or bold text, headings
Black text on #CB7FF8 7.93:1 AAA Lc 52.8 Large or bold text, headings
#CB7FF8 text on white 2.64:1 Fails Lc 51.3 Large or bold text, headings
#CB7FF8 text on black 7.93:1 AAA Lc -50.6 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

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F1E4FB

    oklch(93.6% 0.034 310.7)

  3. Step 200

    200

    #E7CEF8

    oklch(88.5% 0.063 311.6)

  4. Step 300

    300

    #D9ABF7

    oklch(80.9% 0.115 311.5)

  5. Step 400

    400 (this color)

    #CB7FF8

    oklch(72.3% 0.184 311.6)

  6. Step 500

    500

    #B74FEE

    oklch(63.1% 0.235 311.5)

  7. Step 600

    600

    #A325DC

    oklch(55.6% 0.255 311.7)

  8. Step 700

    700

    #8B11BF

    oklch(49.1% 0.237 311.4)

  9. Step 800

    800

    #71169A

    oklch(42.6% 0.196 311.7)

  10. Step 900

    900

    #5C1D7B

    oklch(37.8% 0.154 311.8)

  11. Step 950

    950

    #361348

    oklch(27% 0.098 312)

Export this scale for Tailwind in the Tailwind colors tool

#CB7FF8 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)#629BFC0.151
Deuteranopia (no green cones)#78A1F50.137
Tritanopia (no blue cones)#C692B00.127
Achromatopsia (no color)#9F9F9F0.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #CB7FF8

    #CB7FF8

    oklch(72.3% 0.184 311.6)

  • #7ABC2A

    #7ABC2A

    oklch(72.4% 0.183 131.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB7FF8

    #CB7FF8

    oklch(72.3% 0.184 311.6)

  • #9798FF

    #9798FF

    oklch(72.2% 0.148 281.6)

  • #EF70C6

    #EF70C6

    oklch(72.2% 0.184 341.5)

Open the analogous palette in the generator

Split complementary

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

  • #CB7FF8

    #CB7FF8

    oklch(72.3% 0.184 311.6)

  • #BAA800

    #BAA800

    oklch(72.5% 0.152 101.7)

  • #00C385

    #00C385

    oklch(72.2% 0.159 161.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB7FF8

    #CB7FF8

    oklch(72.3% 0.184 311.6)

  • #E19200

    #E19200

    oklch(72.3% 0.155 71.2)

  • #00BEB9

    #00BEB9

    oklch(72.4% 0.124 191.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB7FF8

    #CB7FF8

    oklch(72.3% 0.184 311.6)

  • #FF7840

    #FF7840

    oklch(72.3% 0.179 41.6)

  • #7ABC2A

    #7ABC2A

    oklch(72.4% 0.183 131.5)

  • #00B7E1

    #00B7E1

    oklch(72.3% 0.134 222.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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