#CA7AEB

Closest named color: Light Purple (#BF77F6). oklch(70.8% 0.177 315.3), rgb(202, 122, 235).

Aa

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

About this color

#CA7AEB is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.177 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.027 away. Black text reads best on it, at 7.49:1.

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.177)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.49:1
White text2.80:1

Values

HEX#CA7AEB
RGBrgb(202, 122, 235)
HSLhsl(282, 74%, 70%)
OKLCHoklch(70.8% 0.177 315.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 #CA7AEB 2.80:1 Fails Lc -58.9 Large or bold text, headings
Black text on #CA7AEB 7.49:1 AAA Lc 50.4 Large or bold text, headings
#CA7AEB text on white 2.80:1 Fails Lc 53.6 Large or bold text, headings
#CA7AEB text on black 7.49:1 AAA Lc -48.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

    #F2E4F9

    oklch(93.6% 0.032 314.7)

  3. Step 200

    200

    #E9CDF5

    oklch(88.4% 0.062 315.8)

  4. Step 300

    300

    #DCABF2

    oklch(81% 0.111 315.1)

  5. Step 400

    400 (this color)

    #CA7AEB

    oklch(70.8% 0.177 315.3)

  6. Step 500

    500

    #BB50E4

    oklch(63.1% 0.226 315.2)

  7. Step 600

    600

    #A728D2

    oklch(55.7% 0.246 315.3)

  8. Step 700

    700

    #8F15B6

    oklch(49.1% 0.229 315.3)

  9. Step 800

    800

    #741893

    oklch(42.7% 0.189 315.3)

  10. Step 900

    900

    #5E1E75

    oklch(37.7% 0.147 315.5)

  11. Step 950

    950

    #371445

    oklch(27.1% 0.093 314.9)

Export this scale for Tailwind in the Tailwind colors tool

#CA7AEB 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)#6396EF0.153
Deuteranopia (no green cones)#7A9DE80.138
Tritanopia (no blue cones)#C88BA80.118
Achromatopsia (no color)#9A9A9A0.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA7AEB

    #CA7AEB

    oklch(70.8% 0.177 315.3)

  • #6CB839

    #6CB839

    oklch(70.8% 0.177 135.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA7AEB

    #CA7AEB

    oklch(70.8% 0.177 315.3)

  • #998FFF

    #998FFF

    oklch(70.7% 0.16 285.6)

  • #EB6DB9

    #EB6DB9

    oklch(70.8% 0.177 345.4)

Open the analogous palette in the generator

Split complementary

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

  • #CA7AEB

    #CA7AEB

    oklch(70.8% 0.177 315.3)

  • #AFA500

    #AFA500

    oklch(70.8% 0.15 105.3)

  • #00BD8A

    #00BD8A

    oklch(70.8% 0.148 165.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA7AEB

    #CA7AEB

    oklch(70.8% 0.177 315.3)

  • #D69100

    #D69100

    oklch(70.8% 0.149 75.1)

  • #00B8B8

    #00B8B8

    oklch(70.9% 0.121 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA7AEB

    #CA7AEB

    oklch(70.8% 0.177 315.3)

  • #F77631

    #F77631

    oklch(70.8% 0.177 45.3)

  • #6CB839

    #6CB839

    oklch(70.8% 0.177 135.3)

  • #00B1E0

    #00B1E0

    oklch(70.8% 0.135 225.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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