#C240EE

Closest named color: Hot Purple (#CB00F5). oklch(63% 0.256 315.9), rgb(194, 64, 238).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.256)
Temperaturein between
Nearest nameHot Purple (#CB00F5)
Black text5.26:1
White text3.99:1

Values

HEX#C240EE
RGBrgb(194, 64, 238)
HSLhsl(285, 84%, 59%)
OKLCHoklch(63% 0.256 315.9)

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 #C240EE 3.99:1 AA large text Lc -71.6 Content text, not long reading
Black text on #C240EE 5.26:1 AA Lc 38.0 Non-text elements, placeholder text
#C240EE text on white 3.99:1 AA large text Lc 66.1 Content text, not long reading
#C240EE text on black 5.26: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

    #FAF2FD

    oklch(97% 0.017 316.9)

  2. Step 100

    100

    #F4E3FB

    oklch(93.6% 0.037 316.2)

  3. Step 200

    200

    #EBCCF9

    oklch(88.5% 0.069 315.3)

  4. Step 300

    300

    #E0A7F7

    oklch(80.9% 0.125 316)

  5. Step 400

    400

    #D072F3

    oklch(70.7% 0.2 316.1)

  6. Step 500

    500 (this color)

    #C240EE

    oklch(63% 0.256 315.9)

  7. Step 600

    600

    #AD00DA

    oklch(55.6% 0.272 316.1)

  8. Step 700

    700

    #9200B9

    oklch(49.1% 0.241 315.9)

  9. Step 800

    800

    #780099

    oklch(42.6% 0.209 315.8)

  10. Step 900

    900

    #62137B

    oklch(37.8% 0.166 316)

  11. Step 950

    950

    #390F48

    oklch(27% 0.105 315.6)

Export this scale for Tailwind in the Tailwind colors tool

#C240EE 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)#0078F30.236
Deuteranopia (no green cones)#3D83EA0.219
Tritanopia (no blue cones)#BF66940.165
Achromatopsia (no color)#7F7F7F0.258

Harmonies

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

Complementary

The opposite hue (180°).

  • #C240EE

    #C240EE

    oklch(63% 0.256 315.9)

  • #4EA100

    #4EA100

    oklch(63.1% 0.188 136)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C240EE

    #C240EE

    oklch(63% 0.256 315.9)

  • #836CFF

    #836CFF

    oklch(62.9% 0.21 285.9)

  • #EA1CA9

    #EA1CA9

    oklch(63% 0.256 346)

Open the analogous palette in the generator

Split complementary

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

  • #C240EE

    #C240EE

    oklch(63% 0.256 315.9)

  • #958D00

    #958D00

    oklch(63% 0.134 105.6)

  • #00A277

    #00A277

    oklch(63.2% 0.131 166)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C240EE

    #C240EE

    oklch(63% 0.256 315.9)

  • #B67C00

    #B67C00

    oklch(63% 0.132 76.1)

  • #009D9E

    #009D9E

    oklch(63.1% 0.108 195.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C240EE

    #C240EE

    oklch(63% 0.256 315.9)

  • #DC5D00

    #DC5D00

    oklch(63.1% 0.178 45.8)

  • #4EA100

    #4EA100

    oklch(63.1% 0.188 136)

  • #0097C0

    #0097C0

    oklch(63% 0.12 225.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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