#CA8FF4

Closest named color: Liliac (#C48EFD). oklch(74.5% 0.153 310), rgb(202, 143, 244).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (75%)
Chromavivid (0.153)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.74:1
White text2.40:1

Values

HEX#CA8FF4
RGBrgb(202, 143, 244)
HSLhsl(275, 82%, 76%)
OKLCHoklch(74.5% 0.153 310)

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 #CA8FF4 2.40:1 Fails Lc -52.1 Large or bold text, headings
Black text on #CA8FF4 8.74:1 AAA Lc 56.9 Large or bold text, headings
#CA8FF4 text on white 2.40:1 Fails Lc 47.1 Large or bold text, headings
#CA8FF4 text on black 8.74:1 AAA Lc -54.9 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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #EFE5F8

    oklch(93.5% 0.027 309.2)

  3. Step 200

    200

    #E4D0F4

    oklch(88.5% 0.053 310.1)

  4. Step 300

    300

    #D4B0EF

    oklch(81% 0.095 310.3)

  5. Step 400

    400 (this color)

    #CA8FF4

    oklch(74.5% 0.153 310)

  6. Step 500

    500

    #AD5FE0

    oklch(63.1% 0.196 309.8)

  7. Step 600

    600

    #9940CD

    oklch(55.6% 0.212 310.2)

  8. Step 700

    700

    #8230B2

    oklch(49% 0.198 309.7)

  9. Step 800

    800

    #6A2A90

    oklch(42.7% 0.164 309.9)

  10. Step 900

    900

    #562873

    oklch(37.7% 0.128 309.9)

  11. Step 950

    950

    #321943

    oklch(27% 0.079 309.6)

Export this scale for Tailwind in the Tailwind colors tool

#CA8FF4 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)#7AA4F80.116
Deuteranopia (no green cones)#88A8F10.107
Tritanopia (no blue cones)#C59EB60.109
Achromatopsia (no color)#A7A7A70.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA8FF4

    #CA8FF4

    oklch(74.5% 0.153 310)

  • #8CBF4F

    #8CBF4F

    oklch(74.5% 0.153 130)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA8FF4

    #CA8FF4

    oklch(74.5% 0.153 310)

  • #9CA2FF

    #9CA2FF

    oklch(74.5% 0.134 279.8)

  • #EB83CB

    #EB83CB

    oklch(74.5% 0.153 339.8)

Open the analogous palette in the generator

Split complementary

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

  • #CA8FF4

    #CA8FF4

    oklch(74.5% 0.153 310)

  • #C3AD0E

    #C3AD0E

    oklch(74.4% 0.152 99.9)

  • #36C98A

    #36C98A

    oklch(74.5% 0.153 159.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA8FF4

    #CA8FF4

    oklch(74.5% 0.153 310)

  • #E99922

    #E99922

    oklch(74.6% 0.153 70.1)

  • #00C6BE

    #00C6BE

    oklch(74.6% 0.129 189.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA8FF4

    #CA8FF4

    oklch(74.5% 0.153 310)

  • #FC875E

    #FC875E

    oklch(74.5% 0.153 39.8)

  • #8CBF4F

    #8CBF4F

    oklch(74.5% 0.153 130)

  • #00BFE7

    #00BFE7

    oklch(74.4% 0.136 220.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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