#CB7ECB

Closest named color: Lavender Pink (#DD85D7). oklch(70% 0.138 326.9), rgb(203, 126, 203).

Aa

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

About this color

#CB7ECB is a medium-light, moderately saturated purple. In OKLCH its lightness is 70%, its chroma 0.138 and its hue 327°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.039 away. Black text reads best on it, at 7.38:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromamoderately saturated (0.138)
Temperaturein between
Nearest nameLavender Pink (#DD85D7)
Black text7.38:1
White text2.84:1

Values

HEX#CB7ECB
RGBrgb(203, 126, 203)
HSLhsl(300, 43%, 65%)
OKLCHoklch(70% 0.138 326.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 #CB7ECB 2.84:1 Fails Lc -59.6 Large or bold text, headings
Black text on #CB7ECB 7.38:1 AAA Lc 49.7 Large or bold text, headings
#CB7ECB text on white 2.84:1 Fails Lc 54.3 Large or bold text, headings
#CB7ECB text on black 7.38:1 AAA Lc -47.5 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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F3E4F3

    oklch(93.5% 0.026 325.8)

  3. Step 200

    200

    #EBCFEA

    oklch(88.6% 0.047 327.1)

  4. Step 300

    300

    #DFADDE

    oklch(80.8% 0.087 327)

  5. Step 400

    400 (this color)

    #CB7ECB

    oklch(70% 0.138 326.9)

  6. Step 500

    500

    #BF5CC0

    oklch(63.1% 0.177 327)

  7. Step 600

    600

    #AA3EAC

    oklch(55.6% 0.192 327)

  8. Step 700

    700

    #922F94

    oklch(49.2% 0.178 327)

  9. Step 800

    800

    #762978

    oklch(42.7% 0.147 326.7)

  10. Step 900

    900

    #602761

    oklch(37.8% 0.115 326.9)

  11. Step 950

    950

    #381839

    oklch(27.1% 0.072 326.2)

Export this scale for Tailwind in the Tailwind colors tool

#CB7ECB 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)#7893CE0.129
Deuteranopia (no green cones)#8C9DC80.118
Tritanopia (no blue cones)#CF859B0.079
Achromatopsia (no color)#9999990.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #CB7ECB

    #CB7ECB

    oklch(70% 0.138 326.9)

  • #5EB56A

    #5EB56A

    oklch(70% 0.137 146.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB7ECB

    #CB7ECB

    oklch(70% 0.138 326.9)

  • #A88BE9

    #A88BE9

    oklch(70.1% 0.137 296.9)

  • #E177A0

    #E177A0

    oklch(70% 0.139 356.8)

Open the analogous palette in the generator

Split complementary

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

  • #CB7ECB

    #CB7ECB

    oklch(70% 0.138 326.9)

  • #99A937

    #99A937

    oklch(70% 0.138 117)

  • #00B89D

    #00B89D

    oklch(70% 0.13 177.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB7ECB

    #CB7ECB

    oklch(70% 0.138 326.9)

  • #C39818

    #C39818

    oklch(70.1% 0.138 87.4)

  • #00B3C4

    #00B3C4

    oklch(70.1% 0.12 206.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB7ECB

    #CB7ECB

    oklch(70% 0.138 326.9)

  • #DE863E

    #DE863E

    oklch(70.1% 0.138 56.9)

  • #5EB56A

    #5EB56A

    oklch(70% 0.137 146.9)

  • #30AAE9

    #30AAE9

    oklch(70.1% 0.138 236.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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