#7F7ABB
Closest named color: Deep Lilac (#966EBD). oklch(61% 0.097 286.7), rgb(127, 122, 187).
Aa
Black text reads best on this color (5.40:1).
About this color
#7F7ABB is a medium-dark, moderately saturated purple. In OKLCH its lightness is 61%, its chroma 0.097 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.046 away. Black text reads best on it, at 5.40:1.
| Hue family | Purples |
| Lightness | medium-dark (61%) |
| Chroma | moderately saturated (0.097) |
| Temperature | cool |
| Nearest name | Deep Lilac (#966EBD) |
| Black text | 5.40:1 |
| White text | 3.88:1 |
Values
| HEX | #7F7ABB |
| RGB | rgb(127, 122, 187) |
| HSL | hsl(245, 32%, 61%) |
| OKLCH | oklch(61% 0.097 286.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 #7F7ABB | 3.88:1 | AA large text | Lc -71.8 | Content text, not long reading |
| Black text on #7F7ABB | 5.40:1 | AA | Lc 37.8 | Non-text elements, placeholder text |
| #7F7ABB text on white | 3.88:1 | AA large text | Lc 66.3 | Content text, not long reading |
| #7F7ABB text on black | 5.40:1 | AA | Lc -35.4 | Non-text elements, placeholder text |
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 500.
-
Step 50
50
#F5F5FA
oklch(97.2% 0.007 286.3)
-
Step 100
100
#E9E9F3
oklch(93.7% 0.013 286.1)
-
Step 200
200
#D7D7EA
oklch(88.5% 0.026 285.9)
-
Step 300
300
#BEBDDF
oklch(81% 0.048 286.6)
-
Step 400
400
#9D9ACE
oklch(70.8% 0.075 286.9)
-
Step 500
500 (this color)
#7F7ABB
oklch(61% 0.097 286.7)
-
Step 600
600
#6F69AE
oklch(55.6% 0.105 286.4)
-
Step 700
700
#5D5796
oklch(49.1% 0.099 286.5)
-
Step 800
800
#4C4779
oklch(42.6% 0.082 287)
-
Step 900
900
#3F3C62
oklch(37.7% 0.064 286.5)
-
Step 950
950
#252339
oklch(26.9% 0.041 287.5)
#7F7ABB 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) | #6783BE | 0.038 |
| Deuteranopia (no green cones) | #667FB9 | 0.036 |
| Tritanopia (no blue cones) | #708692 | 0.084 |
| Achromatopsia (no color) | #818181 | 0.098 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F7ABB
#7F7ABB
oklch(61% 0.097 286.7)
- #8A873C
#8A873C
oklch(61% 0.097 106.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 #7F7ABB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Lilac #966EBD ΔE 0.046
- Faded Blue #658CBB ΔE 0.057
- Lavender Gray #7E7F9A ΔE 0.057
- Faded Purple #916E99 ΔE 0.058
- Dark Lilac #9C6DA5 ΔE 0.058
- Dusty Blue #5A86AD ΔE 0.064
- Off Blue #5684AE ΔE 0.064
- Dark Lavender #856798 ΔE 0.064
Use #7F7ABB 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.