#7962B9
Closest named color: Deep Lavender (#8D5EB7). oklch(55.8% 0.132 293.9), rgb(121, 98, 185).
Aa
White text reads best on this color (4.92:1).
About this color
#7962B9 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 56%, its chroma 0.132 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.034 away. White text reads best on it, at 4.92:1.
| Hue family | Purples |
| Lightness | medium-dark (56%) |
| Chroma | moderately saturated (0.132) |
| Temperature | in between |
| Nearest name | Deep Lavender (#8D5EB7) |
| Black text | 4.26:1 |
| White text | 4.92:1 |
Values
| HEX | #7962B9 |
| RGB | rgb(121, 98, 185) |
| HSL | hsl(256, 38%, 55%) |
| OKLCH | oklch(55.8% 0.132 293.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 #7962B9 | 4.92:1 | AA | Lc -79.4 | Fine for body text |
| Black text on #7962B9 | 4.26:1 | AA large text | Lc 30.1 | Non-text elements, placeholder text |
| #7962B9 text on white | 4.92:1 | AA | Lc 74.0 | Content text, not long reading |
| #7962B9 text on black | 4.26:1 | AA large text | Lc -27.7 | Dividers and decoration only |
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
#F5F4FA
oklch(97% 0.008 293.9)
-
Step 100
100
#EAE8F5
oklch(93.6% 0.018 293.1)
-
Step 200
200
#DAD5ED
oklch(88.4% 0.033 295.3)
-
Step 300
300
#C2BAE4
oklch(80.9% 0.059 293.8)
-
Step 400
400
#A395D6
oklch(70.6% 0.095 293.7)
-
Step 500
500
#8E7ACC
oklch(63.2% 0.122 293.8)
-
Step 600
600 (this color)
#7962B9
oklch(55.8% 0.132 293.9)
-
Step 700
700
#65509F
oklch(49% 0.123 293.6)
-
Step 800
800
#534281
oklch(42.8% 0.102 294.1)
-
Step 900
900
#443867
oklch(37.6% 0.079 294)
-
Step 950
950
#28213D
oklch(27% 0.052 294.2)
#7962B9 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) | #4471BC | 0.076 |
| Deuteranopia (no green cones) | #486FB7 | 0.072 |
| Tritanopia (no blue cones) | #6A7385 | 0.107 |
| Achromatopsia (no color) | #707070 | 0.133 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7962B9
#7962B9
oklch(55.8% 0.132 293.9)
- #747B00
#747B00
oklch(55.8% 0.125 113.7)
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 #7962B9, closest first.
No curated palette has a color within ΔE 0.04 of #7962B9.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Lavender #8D5EB7 ΔE 0.034
- Light Indigo #6D5ACF ΔE 0.047
- Slate Blue #6A5ACD ΔE 0.047
- Dark Periwinkle #665FD1 ΔE 0.049
- Iris #6258C4 ΔE 0.051
- Amethyst #9B5FC0 ΔE 0.059
- Deep Lilac #966EBD ΔE 0.060
- Dark Lavender #856798 ΔE 0.060
Use #7962B9 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.