#C642E2

Closest named color: Purple Pink (#D725DE). oklch(63% 0.245 320), rgb(198, 66, 226).

Aa

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

About this color

#C642E2 is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.245 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple Pink (#D725DE), ΔE 0.041 away. Black text reads best on it, at 5.27:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.245)
Temperaturein between
Nearest namePurple Pink (#D725DE)
Black text5.27:1
White text3.97:1

Values

HEX#C642E2
RGBrgb(198, 66, 226)
HSLhsl(290, 73%, 57%)
OKLCHoklch(63% 0.245 320)

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 #C642E2 3.97:1 AA large text Lc -71.5 Content text, not long reading
Black text on #C642E2 5.27:1 AA Lc 38.0 Non-text elements, placeholder text
#C642E2 text on white 3.97:1 AA large text Lc 66.0 Content text, not long reading
#C642E2 text on black 5.27:1 AA Lc -35.6 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

    #FAF2FC

    oklch(97% 0.016 319.4)

  2. Step 100

    100

    #F5E3F9

    oklch(93.7% 0.035 320.1)

  3. Step 200

    200

    #EDCCF5

    oklch(88.6% 0.066 319.6)

  4. Step 300

    300

    #E3A7F1

    oklch(80.9% 0.12 319.9)

  5. Step 400

    400

    #D372E9

    oklch(70.6% 0.192 320)

  6. Step 500

    500 (this color)

    #C642E2

    oklch(63% 0.245 320)

  7. Step 600

    600

    #B201D0

    oklch(55.6% 0.266 320.1)

  8. Step 700

    700

    #9600B0

    oklch(49% 0.235 320)

  9. Step 800

    800

    #7C0092

    oklch(42.7% 0.205 319.9)

  10. Step 900

    900

    #641574

    oklch(37.7% 0.159 320.1)

  11. Step 950

    950

    #3B0F44

    oklch(27% 0.102 320.3)

Export this scale for Tailwind in the Tailwind colors tool

#C642E2 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)#0077E70.244
Deuteranopia (no green cones)#5084DE0.212
Tritanopia (no blue cones)#C7618E0.152
Achromatopsia (no color)#7F7F7F0.247

Harmonies

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

Complementary

The opposite hue (180°).

  • #C642E2

    #C642E2

    oklch(63% 0.245 320)

  • #31A400

    #31A400

    oklch(63% 0.203 140)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C642E2

    #C642E2

    oklch(63% 0.245 320)

  • #8C67FF

    #8C67FF

    oklch(62.9% 0.216 290)

  • #EA259D

    #EA259D

    oklch(62.9% 0.244 350.1)

Open the analogous palette in the generator

Split complementary

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

  • #C642E2

    #C642E2

    oklch(63% 0.245 320)

  • #8F8F00

    #8F8F00

    oklch(62.9% 0.137 109.8)

  • #00A17D

    #00A17D

    oklch(63% 0.125 169.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C642E2

    #C642E2

    oklch(63% 0.245 320)

  • #B27F00

    #B27F00

    oklch(63.1% 0.131 80.3)

  • #009CA3

    #009CA3

    oklch(63% 0.107 200.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C642E2

    #C642E2

    oklch(63% 0.245 320)

  • #D56400

    #D56400

    oklch(63% 0.166 50.2)

  • #31A400

    #31A400

    oklch(63% 0.203 140)

  • #0096C6

    #0096C6

    oklch(63% 0.126 229.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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