#CA7EFA
Closest named color: Light Purple (#BF77F6). oklch(72.2% 0.187 310.8), rgb(202, 126, 250).
Aa
Black text reads best on this color (7.87:1).
About this color
#CA7EFA is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.187 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.026 away. Black text reads best on it, at 7.87:1.
| Hue family | Purples |
| Lightness | medium-light (72%) |
| Chroma | vivid (0.187) |
| Temperature | in between |
| Nearest name | Light Purple (#BF77F6) |
| Black text | 7.87:1 |
| White text | 2.66:1 |
Values
| HEX | #CA7EFA |
| RGB | rgb(202, 126, 250) |
| HSL | hsl(277, 93%, 74%) |
| OKLCH | oklch(72.2% 0.187 310.8) |
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 #CA7EFA | 2.66:1 | Fails | Lc -56.7 | Large or bold text, headings |
| Black text on #CA7EFA | 7.87:1 | AAA | Lc 52.5 | Large or bold text, headings |
| #CA7EFA text on white | 2.66:1 | Fails | Lc 51.5 | Large or bold text, headings |
| #CA7EFA text on black | 7.87:1 | AAA | Lc -50.4 | 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
#F1E4FB
oklch(93.6% 0.034 310.7)
-
Step 200
200
#E7CEF9
oklch(88.6% 0.064 311.1)
-
Step 300
300
#D9ABF8
oklch(80.9% 0.116 311.2)
-
Step 400
400 (this color)
#CA7EFA
oklch(72.2% 0.187 310.8)
-
Step 500
500
#B64EF1
oklch(63.1% 0.239 310.6)
-
Step 600
600
#A222DF
oklch(55.6% 0.259 310.7)
-
Step 700
700
#8B0CC2
oklch(49.1% 0.242 310.7)
-
Step 800
800
#71149D
oklch(42.8% 0.2 310.8)
-
Step 900
900
#5B1C7C
oklch(37.6% 0.156 310.9)
-
Step 950
950
#351349
oklch(26.9% 0.099 310.3)
#CA7EFA 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) | #5F9BFE | 0.153 |
| Deuteranopia (no green cones) | #75A0F7 | 0.138 |
| Tritanopia (no blue cones) | #C492B1 | 0.130 |
| Achromatopsia (no color) | #9E9E9E | 0.188 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CA7EFA
#CA7EFA
oklch(72.2% 0.187 310.8)
- #7ABB1F
#7ABB1F
oklch(72.1% 0.187 130.9)
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 #CA7EFA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Purple #BF77F6 ΔE 0.026
- Liliac #C48EFD ΔE 0.036
- Easter Purple #C071FE ΔE 0.036
- Light Urple #B36FF6 ΔE 0.054
- Orchid #DA70D6 ΔE 0.061
- Bright Lavender #C760FF ΔE 0.063
- Bright Lilac #C95EFB ΔE 0.065
- Violet #EE82EE ΔE 0.067
Use #CA7EFA 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.