#CA84F4

Closest named color: Liliac (#C48EFD). oklch(72.8% 0.171 311.6), rgb(202, 132, 244).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.171)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.11:1
White text2.58:1

Values

HEX#CA84F4
RGBrgb(202, 132, 244)
HSLhsl(278, 84%, 74%)
OKLCHoklch(72.8% 0.171 311.6)

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 #CA84F4 2.58:1 Fails Lc -55.4 Large or bold text, headings
Black text on #CA84F4 8.11:1 AAA Lc 53.7 Large or bold text, headings
#CA84F4 text on white 2.58:1 Fails Lc 50.3 Large or bold text, headings
#CA84F4 text on black 8.11:1 AAA Lc -51.6 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

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F1E4F9

    oklch(93.5% 0.031 312.9)

  3. Step 200

    200

    #E6CFF6

    oklch(88.6% 0.058 311.5)

  4. Step 300

    300

    #D7ADF3

    oklch(80.9% 0.106 311.4)

  5. Step 400

    400 (this color)

    #CA84F4

    oklch(72.8% 0.171 311.6)

  6. Step 500

    500

    #B456E7

    oklch(63.1% 0.218 311.6)

  7. Step 600

    600

    #A032D5

    oklch(55.7% 0.237 311.7)

  8. Step 700

    700

    #8921B8

    oklch(49.1% 0.221 311.9)

  9. Step 800

    800

    #6F2095

    oklch(42.7% 0.182 311.7)

  10. Step 900

    900

    #5A2277

    oklch(37.7% 0.143 311.7)

  11. Step 950

    950

    #351646

    oklch(27.2% 0.09 311.7)

Export this scale for Tailwind in the Tailwind colors tool

#CA84F4 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)#6B9DF80.138
Deuteranopia (no green cones)#7EA2F10.125
Tritanopia (no blue cones)#C695B10.118
Achromatopsia (no color)#A1A1A10.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA84F4

    #CA84F4

    oklch(72.8% 0.171 311.6)

  • #7EBC3C

    #7EBC3C

    oklch(72.8% 0.171 131.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA84F4

    #CA84F4

    oklch(72.8% 0.171 311.6)

  • #999AFF

    #999AFF

    oklch(72.8% 0.145 281.7)

  • #ED77C5

    #ED77C5

    oklch(72.8% 0.17 341.9)

Open the analogous palette in the generator

Split complementary

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

  • #CA84F4

    #CA84F4

    oklch(72.8% 0.171 311.6)

  • #BBA900

    #BBA900

    oklch(72.8% 0.152 101.8)

  • #00C587

    #00C587

    oklch(72.8% 0.16 161.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA84F4

    #CA84F4

    oklch(72.8% 0.171 311.6)

  • #E29400

    #E29400

    oklch(72.8% 0.156 72)

  • #00BFBB

    #00BFBB

    oklch(72.7% 0.125 192.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA84F4

    #CA84F4

    oklch(72.8% 0.171 311.6)

  • #FD7C48

    #FD7C48

    oklch(72.7% 0.171 41.5)

  • #7EBC3C

    #7EBC3C

    oklch(72.8% 0.171 131.7)

  • #00B9E2

    #00B9E2

    oklch(72.8% 0.134 221.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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