#7971A4
Closest named color: Dark Lavender (#856798). oklch(57.6% 0.078 290.9), rgb(121, 113, 164).
Aa
Black text reads best on this color (4.71:1).
About this color
#7971A4 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 58%, its chroma 0.078 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.032 away. Black text reads best on it, at 4.71:1.
| Hue family | Purples |
| Lightness | medium-dark (58%) |
| Chroma | moderately saturated (0.078) |
| Temperature | in between |
| Nearest name | Dark Lavender (#856798) |
| Black text | 4.71:1 |
| White text | 4.45:1 |
Values
| HEX | #7971A4 |
| RGB | rgb(121, 113, 164) |
| HSL | hsl(249, 22%, 54%) |
| OKLCH | oklch(57.6% 0.078 290.9) |
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 #7971A4 | 4.45:1 | AA large text | Lc -76.4 | Fine for body text |
| Black text on #7971A4 | 4.71:1 | AA | Lc 33.2 | Non-text elements, placeholder text |
| #7971A4 text on white | 4.45:1 | AA large text | Lc 70.9 | Content text, not long reading |
| #7971A4 text on black | 4.71:1 | AA | Lc -30.8 | 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 600.
-
Step 50
50
#F5F5F8
oklch(97.1% 0.004 286.3)
-
Step 100
100
#EAE9F0
oklch(93.7% 0.009 292.8)
-
Step 200
200
#D9D7E5
oklch(88.5% 0.019 292.6)
-
Step 300
300
#C0BDD6
oklch(80.9% 0.035 291.1)
-
Step 400
400
#A09BC2
oklch(70.7% 0.057 290.8)
-
Step 500
500
#8982B2
oklch(63.1% 0.072 290.9)
-
Step 600
600 (this color)
#7971A4
oklch(57.6% 0.078 290.9)
-
Step 700
700
#615987
oklch(49.1% 0.073 291.4)
-
Step 800
800
#4F496E
oklch(42.7% 0.061 291)
-
Step 900
900
#413D59
oklch(37.6% 0.048 290.5)
-
Step 950
950
#262434
oklch(27% 0.03 290)
#7971A4 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) | #6478A6 | 0.033 |
| Deuteranopia (no green cones) | #6476A3 | 0.032 |
| Tritanopia (no blue cones) | #707A83 | 0.066 |
| Achromatopsia (no color) | #777777 | 0.078 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7971A4
#7971A4
oklch(57.6% 0.078 290.9)
- #7B7E45
#7B7E45
oklch(57.7% 0.079 111.3)
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 #7971A4, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Lavender #856798 ΔE 0.032
- Grey Purple #826D8C ΔE 0.038
- Faded Purple #916E99 ΔE 0.040
- Lavender Gray #7E7F9A ΔE 0.048
- Purple Grey #866F85 ΔE 0.050
- Dark Lilac #9C6DA5 ΔE 0.057
- Dusty Purple #825F87 ΔE 0.057
- Slate Gray #708090 ΔE 0.061
Use #7971A4 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.