#C42EFF

Closest named color: Neon Purple (#BC13FE). oklch(63.2% 0.286 313.5), rgb(196, 46, 255).

Aa

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

About this color

#C42EFF is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.286 and its hue 313°. 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.18:1.

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

Values

HEX#C42EFF
RGBrgb(196, 46, 255)
HSLhsl(283, 100%, 59%)
OKLCHoklch(63.2% 0.286 313.5)

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 #C42EFF 4.05:1 AA large text Lc -71.6 Content text, not long reading
Black text on #C42EFF 5.18:1 AA Lc 37.9 Non-text elements, placeholder text
#C42EFF text on white 4.05:1 AA large text Lc 66.1 Content text, not long reading
#C42EFF text on black 5.18:1 AA Lc -35.5 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

    #F4E2FE

    oklch(93.6% 0.042 313.7)

  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

    #D06DFF

    oklch(70.7% 0.22 313.5)

  6. Step 500

    500 (this color)

    #C42EFF

    oklch(63.2% 0.286 313.5)

  7. Step 600

    600

    #AA00E1

    oklch(55.7% 0.276 313.5)

  8. Step 700

    700

    #8F00BE

    oklch(49.1% 0.244 313.5)

  9. Step 800

    800

    #76009E

    oklch(42.7% 0.212 313.3)

  10. Step 900

    900

    #630185

    oklch(37.8% 0.187 313.4)

  11. Step 950

    950

    #3A094E

    oklch(27% 0.119 313.3)

Export this scale for Tailwind in the Tailwind colors tool

#C42EFF 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)#0081FB0.249
Tritanopia (no blue cones)#BE659A0.188
Achromatopsia (no color)#7E7E7E0.289

Harmonies

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

Complementary

The opposite hue (180°).

  • #C42EFF

    #C42EFF

    oklch(63.2% 0.286 313.5)

  • #5A9F00

    #5A9F00

    oklch(63.2% 0.179 133.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C42EFF

    #C42EFF

    oklch(63.2% 0.286 313.5)

  • #7E70FF

    #7E70FF

    oklch(63.2% 0.205 283.3)

  • #EC00B2

    #EC00B2

    oklch(63.1% 0.27 343.4)

Open the analogous palette in the generator

Split complementary

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

  • #C42EFF

    #C42EFF

    oklch(63.2% 0.286 313.5)

  • #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.

  • #C42EFF

    #C42EFF

    oklch(63.2% 0.286 313.5)

  • #B97B00

    #B97B00

    oklch(63.2% 0.134 73.9)

  • #009E9C

    #009E9C

    oklch(63.2% 0.108 193.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C42EFF

    #C42EFF

    oklch(63.2% 0.286 313.5)

  • #E05900

    #E05900

    oklch(63.1% 0.185 43.6)

  • #5A9F00

    #5A9F00

    oklch(63.2% 0.179 133.4)

  • #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 #C42EFF, closest first.

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

Similar named colors

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

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