#CA31F0

Closest named color: Hot Purple (#CB00F5). oklch(63.1% 0.274 318.3), rgb(202, 49, 240).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.274)
Temperaturein between
Nearest nameHot Purple (#CB00F5)
Black text5.20:1
White text4.03:1

Values

HEX#CA31F0
RGBrgb(202, 49, 240)
HSLhsl(288, 86%, 57%)
OKLCHoklch(63.1% 0.274 318.3)

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

    #FBF2FD

    oklch(97.1% 0.017 320.1)

  2. Step 100

    100

    #F5E2FB

    oklch(93.5% 0.039 318.1)

  3. Step 200

    200

    #EECAF9

    oklch(88.4% 0.074 318.2)

  4. Step 300

    300

    #E5A4F8

    oklch(80.9% 0.134 318.4)

  5. Step 400

    400

    #D66CF4

    oklch(70.7% 0.213 318.3)

  6. Step 500

    500 (this color)

    #CA31F0

    oklch(63.1% 0.274 318.3)

  7. Step 600

    600

    #B000D4

    oklch(55.6% 0.269 318.5)

  8. Step 700

    700

    #9500B4

    oklch(49.2% 0.238 318.4)

  9. Step 800

    800

    #7B0095

    oklch(42.8% 0.207 318.4)

  10. Step 900

    900

    #66047C

    oklch(37.6% 0.179 318.3)

  11. Step 950

    950

    #3C0A49

    oklch(27% 0.114 318.1)

Export this scale for Tailwind in the Tailwind colors tool

#CA31F0 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)#0075F50.256
Deuteranopia (no green cones)#3C83EC0.240
Tritanopia (no blue cones)#C95E920.171
Achromatopsia (no color)#7F7F7F0.276

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA31F0

    #CA31F0

    oklch(63.1% 0.274 318.3)

  • #3FA300

    #3FA300

    oklch(63.1% 0.197 138.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA31F0

    #CA31F0

    oklch(63.1% 0.274 318.3)

  • #896AFF

    #896AFF

    oklch(63.1% 0.212 288.4)

  • #F000A4

    #F000A4

    oklch(63.2% 0.265 348.4)

Open the analogous palette in the generator

Split complementary

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

  • #CA31F0

    #CA31F0

    oklch(63.1% 0.274 318.3)

  • #928F00

    #928F00

    oklch(63.2% 0.136 108.3)

  • #00A17B

    #00A17B

    oklch(63% 0.127 168.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA31F0

    #CA31F0

    oklch(63.1% 0.274 318.3)

  • #B47E00

    #B47E00

    oklch(63.1% 0.131 78.5)

  • #009DA1

    #009DA1

    oklch(63.2% 0.107 198)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA31F0

    #CA31F0

    oklch(63.1% 0.274 318.3)

  • #D86100

    #D86100

    oklch(63% 0.171 48.2)

  • #3FA300

    #3FA300

    oklch(63.1% 0.197 138.4)

  • #0097C4

    #0097C4

    oklch(63.2% 0.123 228.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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