#CB7EFC

Closest named color: Light Purple (#BF77F6). oklch(72.4% 0.19 310.7), rgb(203, 126, 252).

Aa

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

About this color

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

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

Values

HEX#CB7EFC
RGBrgb(203, 126, 252)
HSLhsl(277, 95%, 74%)
OKLCHoklch(72.4% 0.19 310.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 #CB7EFC 2.64:1 Fails Lc -56.4 Large or bold text, headings
Black text on #CB7EFC 7.92:1 AAA Lc 52.8 Large or bold text, headings
#CB7EFC text on white 2.64:1 Fails Lc 51.2 Large or bold text, headings
#CB7EFC text on black 7.92:1 AAA Lc -50.7 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

    #F9F3FE

    oklch(97.2% 0.016 310.1)

  2. Step 100

    100

    #F1E4FB

    oklch(93.6% 0.034 310.7)

  3. Step 200

    200

    #E7CEFA

    oklch(88.6% 0.065 310.5)

  4. Step 300

    300

    #D9ABF9

    oklch(81% 0.118 310.8)

  5. Step 400

    400 (this color)

    #CB7EFC

    oklch(72.4% 0.19 310.7)

  6. Step 500

    500

    #B74CF2

    oklch(63.1% 0.242 310.8)

  7. Step 600

    600

    #A31EE1

    oklch(55.6% 0.264 310.7)

  8. Step 700

    700

    #8B05C3

    oklch(49% 0.245 310.6)

  9. Step 800

    800

    #71119E

    oklch(42.7% 0.203 310.6)

  10. Step 900

    900

    #5B1B7D

    oklch(37.6% 0.158 310.6)

  11. Step 950

    950

    #361349

    oklch(27.1% 0.099 311.3)

Export this scale for Tailwind in the Tailwind colors tool

#CB7EFC 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)#5E9BFF0.156
Deuteranopia (no green cones)#75A0F90.139
Tritanopia (no blue cones)#C593B20.132
Achromatopsia (no color)#9F9F9F0.191

Harmonies

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

Complementary

The opposite hue (180°).

  • #CB7EFC

    #CB7EFC

    oklch(72.4% 0.19 310.7)

  • #7BBC1A

    #7BBC1A

    oklch(72.4% 0.189 130.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB7EFC

    #CB7EFC

    oklch(72.4% 0.19 310.7)

  • #9699FF

    #9699FF

    oklch(72.4% 0.147 280.8)

  • #F16FC9

    #F16FC9

    oklch(72.4% 0.189 340.8)

Open the analogous palette in the generator

Split complementary

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

  • #CB7EFC

    #CB7EFC

    oklch(72.4% 0.19 310.7)

  • #BBA700

    #BBA700

    oklch(72.3% 0.151 100.7)

  • #00C483

    #00C483

    oklch(72.4% 0.162 160.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB7EFC

    #CB7EFC

    oklch(72.4% 0.19 310.7)

  • #E29200

    #E29200

    oklch(72.4% 0.156 70.8)

  • #00BEB8

    #00BEB8

    oklch(72.4% 0.125 190.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB7EFC

    #CB7EFC

    oklch(72.4% 0.19 310.7)

  • #FF7844

    #FF7844

    oklch(72.4% 0.178 40.6)

  • #7BBC1A

    #7BBC1A

    oklch(72.4% 0.189 130.6)

  • #00B8E0

    #00B8E0

    oklch(72.5% 0.133 220.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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