#7F7BB5
Closest named color: Lavender Gray (#7E7F9A). oklch(60.9% 0.087 286.7), rgb(127, 123, 181).
Aa
Black text reads best on this color (5.40:1).
About this color
#7F7BB5 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 61%, its chroma 0.087 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.047 away. Black text reads best on it, at 5.40:1.
| Hue family | Purples |
| Lightness | medium-dark (61%) |
| Chroma | moderately saturated (0.087) |
| Temperature | cool |
| Nearest name | Lavender Gray (#7E7F9A) |
| Black text | 5.40:1 |
| White text | 3.88:1 |
Values
| HEX | #7F7BB5 |
| RGB | rgb(127, 123, 181) |
| HSL | hsl(244, 28%, 60%) |
| OKLCH | oklch(60.9% 0.087 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 #7F7BB5 | 3.88:1 | AA large text | Lc -71.8 | Content text, not long reading |
| Black text on #7F7BB5 | 5.40:1 | AA | Lc 37.8 | Non-text elements, placeholder text |
| #7F7BB5 text on white | 3.88:1 | AA large text | Lc 66.3 | Content text, not long reading |
| #7F7BB5 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
#F5F5F9
oklch(97.1% 0.005 286.3)
-
Step 100
100
#E9E9F2
oklch(93.7% 0.012 286.2)
-
Step 200
200
#D7D7E8
oklch(88.4% 0.023 285.9)
-
Step 300
300
#BEBDDC
oklch(80.9% 0.043 286.9)
-
Step 400
400
#9D9BCA
oklch(70.8% 0.068 286.5)
-
Step 500
500 (this color)
#7F7BB5
oklch(60.9% 0.087 286.7)
-
Step 600
600
#6F6AA8
oklch(55.5% 0.095 286.6)
-
Step 700
700
#5D5890
oklch(49% 0.088 286.7)
-
Step 800
800
#4C4875
oklch(42.6% 0.074 286.9)
-
Step 900
900
#3F3D5E
oklch(37.7% 0.056 286.2)
-
Step 950
950
#252437
oklch(27% 0.035 286.2)
#7F7BB5 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) | #6B83B7 | 0.032 |
| Deuteranopia (no green cones) | #6A80B4 | 0.031 |
| Tritanopia (no blue cones) | #728590 | 0.074 |
| Achromatopsia (no color) | #818181 | 0.087 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F7BB5
#7F7BB5
oklch(60.9% 0.087 286.7)
- #898745
#898745
oklch(61% 0.088 107.2)
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 #7F7BB5, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lavender Gray #7E7F9A ΔE 0.047
- Deep Lilac #966EBD ΔE 0.051
- Faded Purple #916E99 ΔE 0.053
- Faded Blue #658CBB ΔE 0.053
- Dark Lilac #9C6DA5 ΔE 0.056
- Dusty Blue #5A86AD ΔE 0.058
- Off Blue #5684AE ΔE 0.059
- Silver Lake Blue #778DA9 ΔE 0.059
Use #7F7BB5 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.