#CD20F8

Closest named color: Hot Purple (#CB00F5). oklch(63.2% 0.292 317.8), rgb(205, 32, 248).

Aa

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

About this color

#CD20F8 is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.292 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Hot Purple (#CB00F5), ΔE 0.015 away. Black text reads best on it, at 5.15:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.292)
Temperaturein between
Nearest nameHot Purple (#CB00F5)
Black text5.15:1
White text4.07:1

Values

HEX#CD20F8
RGBrgb(205, 32, 248)
HSLhsl(288, 94%, 55%)
OKLCHoklch(63.2% 0.292 317.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 #CD20F8 4.07:1 AA large text Lc -71.5 Content text, not long reading
Black text on #CD20F8 5.15:1 AA Lc 38.1 Non-text elements, placeholder text
#CD20F8 text on white 4.07:1 AA large text Lc 66.0 Content text, not long reading
#CD20F8 text on black 5.15:1 AA Lc -35.7 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

    #FBF2FE

    oklch(97.2% 0.018 317.7)

  2. Step 100

    100

    #F6E2FC

    oklch(93.7% 0.041 318.4)

  3. Step 200

    200

    #EFC9FC

    oklch(88.4% 0.08 317.4)

  4. Step 300

    300

    #E7A2FC

    oklch(80.9% 0.143 318.1)

  5. Step 400

    400

    #D967FB

    oklch(70.8% 0.228 317.8)

  6. Step 500

    500 (this color)

    #CD20F8

    oklch(63.2% 0.292 317.8)

  7. Step 600

    600

    #AF00D6

    oklch(55.6% 0.27 317.7)

  8. Step 700

    700

    #9400B5

    oklch(49.1% 0.238 317.8)

  9. Step 800

    800

    #7A0096

    oklch(42.7% 0.207 317.7)

  10. Step 900

    900

    #66007E

    oklch(37.6% 0.183 317.6)

  11. Step 950

    950

    #3D064B

    oklch(27% 0.121 318)

Export this scale for Tailwind in the Tailwind colors tool

#CD20F8 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)#0074FD0.265
Deuteranopia (no green cones)#2A83F40.260
Tritanopia (no blue cones)#CB5B940.183
Achromatopsia (no color)#7E7E7E0.295

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD20F8

    #CD20F8

    oklch(63.2% 0.292 317.8)

  • #43A300

    #43A300

    oklch(63.2% 0.195 137.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD20F8

    #CD20F8

    oklch(63.2% 0.292 317.8)

  • #886BFF

    #886BFF

    oklch(63.2% 0.21 287.8)

  • #F000A6

    #F000A6

    oklch(63.3% 0.266 347.8)

Open the analogous palette in the generator

Split complementary

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

  • #CD20F8

    #CD20F8

    oklch(63.2% 0.292 317.8)

  • #938F00

    #938F00

    oklch(63.3% 0.136 107.7)

  • #00A27A

    #00A27A

    oklch(63.2% 0.129 167.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD20F8

    #CD20F8

    oklch(63.2% 0.292 317.8)

  • #B57E00

    #B57E00

    oklch(63.3% 0.132 78)

  • #009DA1

    #009DA1

    oklch(63.2% 0.107 198)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD20F8

    #CD20F8

    oklch(63.2% 0.292 317.8)

  • #D96100

    #D96100

    oklch(63.2% 0.172 48)

  • #43A300

    #43A300

    oklch(63.2% 0.195 137.9)

  • #0097C4

    #0097C4

    oklch(63.2% 0.123 228.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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