#7862AA
Closest named color: Dark Lavender (#856798). oklch(54.9% 0.111 296.6), rgb(120, 98, 170).
Aa
White text reads best on this color (5.08:1).
About this color
#7862AA is a medium-dark, moderately saturated purple. In OKLCH its lightness is 55%, its chroma 0.111 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.041 away. White text reads best on it, at 5.08:1.
| Hue family | Purples |
| Lightness | medium-dark (55%) |
| Chroma | moderately saturated (0.111) |
| Temperature | in between |
| Nearest name | Dark Lavender (#856798) |
| Black text | 4.12:1 |
| White text | 5.08:1 |
Values
| HEX | #7862AA |
| RGB | rgb(120, 98, 170) |
| HSL | hsl(258, 30%, 53%) |
| OKLCH | oklch(54.9% 0.111 296.6) |
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 #7862AA | 5.08:1 | AA | Lc -80.4 | Fine for body text |
| Black text on #7862AA | 4.12:1 | AA large text | Lc 29.1 | Dividers and decoration only |
| #7862AA text on white | 5.08:1 | AA | Lc 75.0 | Fine for body text |
| #7862AA text on black | 4.12:1 | AA large text | Lc -26.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
#F6F5F9
oklch(97.2% 0.005 297.7)
-
Step 100
100
#EAE8F3
oklch(93.6% 0.015 294.5)
-
Step 200
200
#DAD6EA
oklch(88.5% 0.028 295)
-
Step 300
300
#C3BADE
oklch(80.8% 0.051 296.7)
-
Step 400
400
#A596CD
oklch(70.6% 0.081 296.8)
-
Step 500
500
#907CC0
oklch(63.1% 0.102 296.9)
-
Step 600
600 (this color)
#7862AA
oklch(54.9% 0.111 296.6)
-
Step 700
700
#675394
oklch(49.1% 0.103 296.6)
-
Step 800
800
#544478
oklch(42.7% 0.086 296.8)
-
Step 900
900
#453A61
oklch(37.8% 0.066 296)
-
Step 950
950
#282239
oklch(27% 0.043 295.4)
#7862AA 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) | #4D6EAD | 0.065 |
| Deuteranopia (no green cones) | #516DA8 | 0.061 |
| Tritanopia (no blue cones) | #6E6F7E | 0.089 |
| Achromatopsia (no color) | #6E6E6E | 0.112 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7862AA
#7862AA
oklch(54.9% 0.111 296.6)
- #6D7920
#6D7920
oklch(54.9% 0.112 116.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 #7862AA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Lavender #856798 ΔE 0.041
- Deep Lavender #8D5EB7 ΔE 0.042
- Muted Purple #805B87 ΔE 0.055
- Dusty Purple #825F87 ΔE 0.056
- Iris #6258C4 ΔE 0.064
- Faded Purple #916E99 ΔE 0.065
- Grey Purple #826D8C ΔE 0.065
- Deep Lilac #966EBD ΔE 0.066
Use #7862AA 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.