#CC7BE2

Closest named color: Orchid (#DA70D6). oklch(70.7% 0.167 318.8), rgb(204, 123, 226).

Aa

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

About this color

#CC7BE2 is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.167 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Orchid (#DA70D6), ΔE 0.034 away. Black text reads best on it, at 7.49:1.

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.167)
Temperaturein between
Nearest nameOrchid (#DA70D6)
Black text7.49:1
White text2.80:1

Values

HEX#CC7BE2
RGBrgb(204, 123, 226)
HSLhsl(287, 64%, 68%)
OKLCHoklch(70.7% 0.167 318.8)

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 #CC7BE2 2.80:1 Fails Lc -58.9 Large or bold text, headings
Black text on #CC7BE2 7.49:1 AAA Lc 50.4 Large or bold text, headings
#CC7BE2 text on white 2.80:1 Fails Lc 53.6 Large or bold text, headings
#CC7BE2 text on black 7.49:1 AAA Lc -48.2 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

    #FAF3FC

    oklch(97.2% 0.014 318.7)

  2. Step 100

    100

    #F3E4F7

    oklch(93.6% 0.03 319.1)

  3. Step 200

    200

    #EACEF2

    oklch(88.6% 0.057 318.7)

  4. Step 300

    300

    #DEABEC

    oklch(80.9% 0.105 318.9)

  5. Step 400

    400 (this color)

    #CC7BE2

    oklch(70.7% 0.167 318.8)

  6. Step 500

    500

    #BE53D9

    oklch(63.2% 0.213 319)

  7. Step 600

    600

    #A92EC7

    oklch(55.6% 0.232 318.7)

  8. Step 700

    700

    #911EAC

    oklch(49.2% 0.216 318.7)

  9. Step 800

    800

    #761D8B

    oklch(42.7% 0.179 319)

  10. Step 900

    900

    #5F206F

    oklch(37.6% 0.139 318.8)

  11. Step 950

    950

    #381441

    oklch(26.9% 0.089 319.1)

Export this scale for Tailwind in the Tailwind colors tool

#CC7BE2 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)#6A95E60.148
Deuteranopia (no green cones)#819DDF0.133
Tritanopia (no blue cones)#CC89A40.107
Achromatopsia (no color)#9A9A9A0.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC7BE2

    #CC7BE2

    oklch(70.7% 0.167 318.8)

  • #66B84B

    #66B84B

    oklch(70.7% 0.166 138.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC7BE2

    #CC7BE2

    oklch(70.7% 0.167 318.8)

  • #9F8CFF

    #9F8CFF

    oklch(70.7% 0.164 289.1)

  • #EA70B1

    #EA70B1

    oklch(70.8% 0.167 349)

Open the analogous palette in the generator

Split complementary

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

  • #CC7BE2

    #CC7BE2

    oklch(70.7% 0.167 318.8)

  • #A9A700

    #A9A700

    oklch(70.7% 0.153 108.9)

  • #00BC91

    #00BC91

    oklch(70.7% 0.142 168.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC7BE2

    #CC7BE2

    oklch(70.7% 0.167 318.8)

  • #D19400

    #D19400

    oklch(70.8% 0.147 79.2)

  • #00B7BD

    #00B7BD

    oklch(70.8% 0.12 199)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC7BE2

    #CC7BE2

    oklch(70.7% 0.167 318.8)

  • #F17B31

    #F17B31

    oklch(70.7% 0.167 48.7)

  • #66B84B

    #66B84B

    oklch(70.7% 0.166 138.7)

  • #00B0E5

    #00B0E5

    oklch(70.8% 0.139 228.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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