#CA7AF2
Closest named color: Light Purple (#BF77F6). oklch(71.2% 0.185 313.4), rgb(202, 122, 242).
Aa
Black text reads best on this color (7.57:1).
About this color
#CA7AF2 is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.185 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.022 away. Black text reads best on it, at 7.57:1.
| Hue family | Purples |
| Lightness | medium-light (71%) |
| Chroma | vivid (0.185) |
| Temperature | in between |
| Nearest name | Light Purple (#BF77F6) |
| Black text | 7.57:1 |
| White text | 2.77:1 |
Values
| HEX | #CA7AF2 |
| RGB | rgb(202, 122, 242) |
| HSL | hsl(280, 82%, 71%) |
| OKLCH | oklch(71.2% 0.185 313.4) |
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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #CA7AF2 | 2.77:1 | Fails | Lc -58.4 | Large or bold text, headings |
| Black text on #CA7AF2 | 7.57:1 | AAA | Lc 50.9 | Large or bold text, headings |
| #CA7AF2 text on white | 2.77:1 | Fails | Lc 53.1 | Large or bold text, headings |
| #CA7AF2 text on black | 7.57:1 | AAA | Lc -48.7 | 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.
-
Step 50
50
#F9F3FD
oklch(97.2% 0.015 312.2)
-
Step 100
100
#F2E4FA
oklch(93.6% 0.033 313.5)
-
Step 200
200
#E8CDF8
oklch(88.4% 0.065 312.9)
-
Step 300
300
#DBAAF5
oklch(80.8% 0.115 313.6)
-
Step 400
400 (this color)
#CA7AF2
oklch(71.2% 0.185 313.4)
-
Step 500
500
#BA4DEB
oklch(63.1% 0.236 313.4)
-
Step 600
600
#A621D9
oklch(55.6% 0.256 313.5)
-
Step 700
700
#8E0BBC
oklch(49.1% 0.238 313.5)
-
Step 800
800
#731498
oklch(42.6% 0.197 313.3)
-
Step 900
900
#5D1C79
oklch(37.6% 0.153 313.4)
-
Step 950
950
#371347
oklch(27.1% 0.097 313.7)
#CA7AF2 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #5E97F6 | 0.157 |
| Deuteranopia (no green cones) | #769DEF | 0.140 |
| Tritanopia (no blue cones) | #C68DAB | 0.126 |
| Achromatopsia (no color) | #9B9B9B | 0.186 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CA7AF2
#CA7AF2
oklch(71.2% 0.185 313.4)
- #70B92A
#70B92A
oklch(71.1% 0.185 133.4)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #CA7AF2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Purple #BF77F6 ΔE 0.022
- Easter Purple #C071FE ΔE 0.035
- Liliac #C48EFD ΔE 0.045
- Light Urple #B36FF6 ΔE 0.050
- Orchid #DA70D6 ΔE 0.050
- Bright Lavender #C760FF ΔE 0.059
- Bright Lilac #C95EFB ΔE 0.060
- Lavender Pink #DD85D7 ΔE 0.063
Use #CA7AF2 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.