#AB7EEE
Closest named color: Light Purple (#BF77F6). oklch(68.4% 0.164 300.7), rgb(171, 126, 238).
Aa
Black text reads best on this color (6.95:1).
About this color
#AB7EEE is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.164 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.037 away. Black text reads best on it, at 6.95:1.
| Hue family | Purples |
| Lightness | medium-light (68%) |
| Chroma | vivid (0.164) |
| Temperature | in between |
| Nearest name | Light Purple (#BF77F6) |
| Black text | 6.95:1 |
| White text | 3.02:1 |
Values
| HEX | #AB7EEE |
| RGB | rgb(171, 126, 238) |
| HSL | hsl(264, 77%, 71%) |
| OKLCH | oklch(68.4% 0.164 300.7) |
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 #AB7EEE | 3.02:1 | AA large text | Lc -62.1 | Content text, not long reading |
| Black text on #AB7EEE | 6.95:1 | AA | Lc 47.3 | Large or bold text, headings |
| #AB7EEE text on white | 3.02:1 | AA large text | Lc 56.8 | Large or bold text, headings |
| #AB7EEE text on black | 6.95:1 | AA | Lc -45.0 | 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
#F7F4FE
oklch(97.2% 0.014 299.8)
-
Step 100
100
#EDE6FB
oklch(93.7% 0.029 301)
-
Step 200
200
#DFD1FA
oklch(88.5% 0.058 300.8)
-
Step 300
300
#CBB1F9
oklch(80.8% 0.103 300.7)
-
Step 400
400 (this color)
#AB7EEE
oklch(68.4% 0.164 300.7)
-
Step 500
500
#A061F2
oklch(63.1% 0.21 300.5)
-
Step 600
600
#8C41E0
oklch(55.5% 0.227 300.6)
-
Step 700
700
#7731C3
oklch(49.1% 0.212 300.4)
-
Step 800
800
#612A9E
oklch(42.7% 0.177 300.6)
-
Step 900
900
#4F297D
oklch(37.7% 0.136 300.8)
-
Step 950
950
#2E1949
oklch(26.9% 0.086 300.9)
#AB7EEE 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) | #5C94F2 | 0.111 |
| Deuteranopia (no green cones) | #6694EB | 0.103 |
| Tritanopia (no blue cones) | #9E92AB | 0.126 |
| Achromatopsia (no color) | #949494 | 0.165 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB7EEE
#AB7EEE
oklch(68.4% 0.164 300.7)
- #8CA700
#8CA700
oklch(68.3% 0.163 120.6)
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 #AB7EEE, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Purple #BF77F6 ΔE 0.037
- Light Urple #B36FF6 ΔE 0.038
- Periwinkle #8E82FE ΔE 0.050
- Easter Purple #C071FE ΔE 0.050
- Lavender Blue #8B88F8 ΔE 0.052
- Perrywinkle #8F8CE7 ΔE 0.054
- Medium Purple #9370DB ΔE 0.058
- Liliac #C48EFD ΔE 0.060
Use #AB7EEE 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.