#C42EFE

Closest named color: Neon Purple (#BC13FE). oklch(63.1% 0.285 313.7), rgb(196, 46, 254).

Aa

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

About this color

#C42EFE is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.285 and its hue 314°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Neon Purple (#BC13FE), ΔE 0.027 away. Black text reads best on it, at 5.16:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.285)
Temperaturein between
Nearest nameNeon Purple (#BC13FE)
Black text5.16:1
White text4.06:1

Values

HEX#C42EFE
RGBrgb(196, 46, 254)
HSLhsl(283, 99%, 59%)
OKLCHoklch(63.1% 0.285 313.7)

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 #C42EFE 4.06:1 AA large text Lc -71.7 Content text, not long reading
Black text on #C42EFE 5.16:1 AA Lc 37.9 Non-text elements, placeholder text
#C42EFE text on white 4.06:1 AA large text Lc 66.2 Content text, not long reading
#C42EFE text on black 5.16:1 AA Lc -35.4 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

    #FAF2FF

    oklch(97.1% 0.019 312.8)

  2. Step 100

    100

    #F4E2FD

    oklch(93.5% 0.041 314.6)

  3. Step 200

    200

    #ECCBFE

    oklch(88.6% 0.077 313.6)

  4. Step 300

    300

    #E0A5FF

    oklch(80.9% 0.138 313.5)

  5. Step 400

    400

    #D06CFF

    oklch(70.6% 0.221 313.6)

  6. Step 500

    500 (this color)

    #C42EFE

    oklch(63.1% 0.285 313.7)

  7. Step 600

    600

    #AA00E0

    oklch(55.6% 0.276 313.7)

  8. Step 700

    700

    #8F00BE

    oklch(49.1% 0.244 313.5)

  9. Step 800

    800

    #76009D

    oklch(42.7% 0.212 313.7)

  10. Step 900

    900

    #630184

    oklch(37.7% 0.186 313.8)

  11. Step 950

    950

    #3A0A4D

    oklch(27% 0.117 313.8)

Export this scale for Tailwind in the Tailwind colors tool

#C42EFE 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)#0077FF0.245
Deuteranopia (no green cones)#0181FA0.250
Tritanopia (no blue cones)#BE649A0.185
Achromatopsia (no color)#7E7E7E0.288

Harmonies

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

Complementary

The opposite hue (180°).

  • #C42EFE

    #C42EFE

    oklch(63.1% 0.285 313.7)

  • #599F00

    #599F00

    oklch(63.1% 0.18 133.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C42EFE

    #C42EFE

    oklch(63.1% 0.285 313.7)

  • #7F6FFF

    #7F6FFF

    oklch(63.1% 0.206 283.8)

  • #EC00B1

    #EC00B1

    oklch(63.1% 0.27 343.7)

Open the analogous palette in the generator

Split complementary

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

  • #C42EFE

    #C42EFE

    oklch(63.1% 0.285 313.7)

  • #988C00

    #988C00

    oklch(63.1% 0.133 103.5)

  • #00A272

    #00A272

    oklch(63% 0.135 163.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C42EFE

    #C42EFE

    oklch(63.1% 0.285 313.7)

  • #B97B00

    #B97B00

    oklch(63.2% 0.134 73.9)

  • #009D9C

    #009D9C

    oklch(63% 0.108 194)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C42EFE

    #C42EFE

    oklch(63.1% 0.285 313.7)

  • #E05900

    #E05900

    oklch(63.1% 0.185 43.6)

  • #599F00

    #599F00

    oklch(63.1% 0.18 133.6)

  • #0098BE

    #0098BE

    oklch(63.1% 0.118 223.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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