#C342EA

Closest named color: Purple Pink (#D725DE). oklch(63.1% 0.251 317.1), rgb(195, 66, 234).

Aa

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

About this color

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

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

Values

HEX#C342EA
RGBrgb(195, 66, 234)
HSLhsl(286, 80%, 59%)
OKLCHoklch(63.1% 0.251 317.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 #C342EA 3.97:1 AA large text Lc -71.5 Content text, not long reading
Black text on #C342EA 5.28:1 AA Lc 38.1 Non-text elements, placeholder text
#C342EA text on white 3.97:1 AA large text Lc 66.0 Content text, not long reading
#C342EA text on black 5.28: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

    #FAF2FD

    oklch(97% 0.017 316.9)

  2. Step 100

    100

    #F4E3FA

    oklch(93.6% 0.036 317.3)

  3. Step 200

    200

    #ECCCF7

    oklch(88.5% 0.067 317.4)

  4. Step 300

    300

    #E1A7F5

    oklch(80.9% 0.123 317.2)

  5. Step 400

    400

    #D073F0

    oklch(70.7% 0.196 316.8)

  6. Step 500

    500 (this color)

    #C342EA

    oklch(63.1% 0.251 317.1)

  7. Step 600

    600

    #AE00D8

    oklch(55.6% 0.271 316.9)

  8. Step 700

    700

    #9300B6

    oklch(49% 0.239 317.1)

  9. Step 800

    800

    #790097

    oklch(42.6% 0.208 316.9)

  10. Step 900

    900

    #621479

    oklch(37.7% 0.164 316.8)

  11. Step 950

    950

    #3A0F47

    oklch(27% 0.104 317.2)

Export this scale for Tailwind in the Tailwind colors tool

#C342EA 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)#0078EF0.237
Deuteranopia (no green cones)#4583E60.214
Tritanopia (no blue cones)#C165930.159
Achromatopsia (no color)#8080800.253

Harmonies

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

Complementary

The opposite hue (180°).

  • #C342EA

    #C342EA

    oklch(63.1% 0.251 317.1)

  • #48A200

    #48A200

    oklch(63.2% 0.192 137)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C342EA

    #C342EA

    oklch(63.1% 0.251 317.1)

  • #866BFF

    #866BFF

    oklch(63% 0.211 287.1)

  • #EA22A6

    #EA22A6

    oklch(63.1% 0.251 347.1)

Open the analogous palette in the generator

Split complementary

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

  • #C342EA

    #C342EA

    oklch(63.1% 0.251 317.1)

  • #938E00

    #938E00

    oklch(63.1% 0.135 107.2)

  • #00A279

    #00A279

    oklch(63.2% 0.13 167)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C342EA

    #C342EA

    oklch(63.1% 0.251 317.1)

  • #B57D00

    #B57D00

    oklch(63.1% 0.132 77.3)

  • #009DA0

    #009DA0

    oklch(63.1% 0.107 197.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C342EA

    #C342EA

    oklch(63.1% 0.251 317.1)

  • #DA5F00

    #DA5F00

    oklch(63% 0.175 46.9)

  • #48A200

    #48A200

    oklch(63.2% 0.192 137)

  • #0097C2

    #0097C2

    oklch(63.1% 0.122 226.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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