#CA82E7

Closest named color: Liliac (#C48EFD). oklch(71.8% 0.16 315.7), rgb(202, 130, 231).

Aa

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

About this color

#CA82E7 is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.160 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.038 away. Black text reads best on it, at 7.85:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.160)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text7.85:1
White text2.67:1

Values

HEX#CA82E7
RGBrgb(202, 130, 231)
HSLhsl(283, 68%, 71%)
OKLCHoklch(71.8% 0.16 315.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 #CA82E7 2.67:1 Fails Lc -56.9 Large or bold text, headings
Black text on #CA82E7 7.85:1 AAA Lc 52.3 Large or bold text, headings
#CA82E7 text on white 2.67:1 Fails Lc 51.7 Large or bold text, headings
#CA82E7 text on black 7.85:1 AAA Lc -50.2 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F2E4F7

    oklch(93.6% 0.029 317.2)

  3. Step 200

    200

    #E8CFF3

    oklch(88.6% 0.055 315.6)

  4. Step 300

    300

    #DAADED

    oklch(80.9% 0.1 315.7)

  5. Step 400

    400 (this color)

    #CA82E7

    oklch(71.8% 0.16 315.7)

  6. Step 500

    500

    #B758DB

    oklch(63% 0.205 315.6)

  7. Step 600

    600

    #A337C8

    oklch(55.6% 0.222 315.9)

  8. Step 700

    700

    #8B27AD

    oklch(49% 0.206 315.7)

  9. Step 800

    800

    #71238C

    oklch(42.6% 0.171 315.8)

  10. Step 900

    900

    #5C2470

    oklch(37.8% 0.133 316)

  11. Step 950

    950

    #361642

    oklch(27% 0.085 315.8)

Export this scale for Tailwind in the Tailwind colors tool

#CA82E7 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)#709AEB0.135
Deuteranopia (no green cones)#83A0E40.122
Tritanopia (no blue cones)#C990AA0.106
Achromatopsia (no color)#9E9E9E0.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA82E7

    #CA82E7

    oklch(71.8% 0.16 315.7)

  • #74BA4D

    #74BA4D

    oklch(71.9% 0.16 135.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA82E7

    #CA82E7

    oklch(71.8% 0.16 315.7)

  • #9D93FF

    #9D93FF

    oklch(71.8% 0.154 286.1)

  • #E977BA

    #E977BA

    oklch(71.9% 0.16 345.6)

Open the analogous palette in the generator

Split complementary

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

  • #CA82E7

    #CA82E7

    oklch(71.8% 0.16 315.7)

  • #B2A900

    #B2A900

    oklch(71.9% 0.153 105.8)

  • #00C18E

    #00C18E

    oklch(71.9% 0.15 165.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA82E7

    #CA82E7

    oklch(71.8% 0.16 315.7)

  • #D99400

    #D99400

    oklch(71.7% 0.151 75.7)

  • #00BBBD

    #00BBBD

    oklch(71.8% 0.122 196.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA82E7

    #CA82E7

    oklch(71.8% 0.16 315.7)

  • #F37F45

    #F37F45

    oklch(71.8% 0.159 45.4)

  • #74BA4D

    #74BA4D

    oklch(71.9% 0.16 135.9)

  • #00B4E5

    #00B4E5

    oklch(71.7% 0.137 226.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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