#CC54DB

Closest named color: Medium Orchid (#BA55D3). oklch(65.2% 0.22 323.1), rgb(204, 84, 219).

Aa

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

About this color

#CC54DB is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.220 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.034 away. Black text reads best on it, at 5.85:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.220)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text5.85:1
White text3.58:1

Values

HEX#CC54DB
RGBrgb(204, 84, 219)
HSLhsl(293, 65%, 59%)
OKLCHoklch(65.2% 0.22 323.1)

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 #CC54DB 3.58:1 AA large text Lc -68.1 Content text, not long reading
Black text on #CC54DB 5.85:1 AA Lc 41.4 Non-text elements, placeholder text
#CC54DB text on white 3.58:1 AA large text Lc 62.7 Content text, not long reading
#CC54DB text on black 5.85:1 AA Lc -39.0 Non-text elements, placeholder text

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

  1. Step 50

    50

    #FAF2FB

    oklch(97% 0.015 322.3)

  2. Step 100

    100

    #F4E3F6

    oklch(93.5% 0.031 322.6)

  3. Step 200

    200

    #EDCDF0

    oklch(88.6% 0.058 323.4)

  4. Step 300

    300

    #E2A9E9

    oklch(80.8% 0.107 322.8)

  5. Step 400

    400

    #D277DE

    oklch(70.6% 0.173 322.8)

  6. Step 500

    500 (this color)

    #CC54DB

    oklch(65.2% 0.22 323.1)

  7. Step 600

    600

    #B024C1

    oklch(55.5% 0.239 323)

  8. Step 700

    700

    #9712A7

    oklch(49.1% 0.222 322.8)

  9. Step 800

    800

    #7B1687

    oklch(42.7% 0.184 323.1)

  10. Step 900

    900

    #631C6C

    oklch(37.6% 0.143 323)

  11. Step 950

    950

    #3A133F

    oklch(27% 0.089 323)

Export this scale for Tailwind in the Tailwind colors tool

#CC54DB 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)#387EDF0.220
Deuteranopia (no green cones)#678CD70.190
Tritanopia (no blue cones)#CF68900.131
Achromatopsia (no color)#8787870.221

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC54DB

    #CC54DB

    oklch(65.2% 0.22 323.1)

  • #00AE14

    #00AE14

    oklch(65.1% 0.217 143.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC54DB

    #CC54DB

    oklch(65.2% 0.22 323.1)

  • #986FFF

    #986FFF

    oklch(65.2% 0.205 293)

  • #EC429B

    #EC429B

    oklch(65.1% 0.219 353)

Open the analogous palette in the generator

Split complementary

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

  • #CC54DB

    #CC54DB

    oklch(65.2% 0.22 323.1)

  • #919800

    #919800

    oklch(65.2% 0.145 113)

  • #00A889

    #00A889

    oklch(65.2% 0.125 173.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC54DB

    #CC54DB

    oklch(65.2% 0.22 323.1)

  • #B78700

    #B78700

    oklch(65.3% 0.134 83.3)

  • #00A3AE

    #00A3AE

    oklch(65.2% 0.111 203.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC54DB

    #CC54DB

    oklch(65.2% 0.22 323.1)

  • #DB6D00

    #DB6D00

    oklch(65.2% 0.166 53)

  • #00AE14

    #00AE14

    oklch(65.1% 0.217 143.1)

  • #009CD4

    #009CD4

    oklch(65.2% 0.135 233.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #CC54DB.

Similar named colors

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

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