#7862BB
Closest named color: Deep Lavender (#8D5EB7). oklch(55.8% 0.135 292.9), rgb(120, 98, 187).
Aa
White text reads best on this color (4.92:1).
About this color
#7862BB is a medium-dark, moderately saturated purple. In OKLCH its lightness is 56%, its chroma 0.135 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.036 away. White text reads best on it, at 4.92:1.
| Hue family | Purples |
| Lightness | medium-dark (56%) |
| Chroma | moderately saturated (0.135) |
| Temperature | in between |
| Nearest name | Deep Lavender (#8D5EB7) |
| Black text | 4.26:1 |
| White text | 4.92:1 |
Values
| HEX | #7862BB |
| RGB | rgb(120, 98, 187) |
| HSL | hsl(255, 40%, 56%) |
| OKLCH | oklch(55.8% 0.135 292.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 #7862BB | 4.92:1 | AA | Lc -79.4 | Fine for body text |
| Black text on #7862BB | 4.26:1 | AA large text | Lc 30.1 | Non-text elements, placeholder text |
| #7862BB text on white | 4.92:1 | AA | Lc 74.0 | Content text, not long reading |
| #7862BB text on black | 4.26:1 | AA large text | Lc -27.8 | 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
#F5F4FB
oklch(97% 0.009 292.8)
-
Step 100
100
#EAE8F5
oklch(93.6% 0.018 293.1)
-
Step 200
200
#D9D5EE
oklch(88.4% 0.034 293)
-
Step 300
300
#C1BAE5
oklch(80.9% 0.06 292.5)
-
Step 400
400
#A395D8
oklch(70.7% 0.097 293.3)
-
Step 500
500
#8D7ACD
oklch(63.2% 0.123 293.1)
-
Step 600
600 (this color)
#7862BB
oklch(55.8% 0.135 292.9)
-
Step 700
700
#6450A1
oklch(49.1% 0.126 292.5)
-
Step 800
800
#524282
oklch(42.7% 0.104 293)
-
Step 900
900
#443868
oklch(37.7% 0.081 293.7)
-
Step 950
950
#27213D
oklch(26.9% 0.051 292.4)
#7862BB 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) | #4372BE | 0.076 |
| Deuteranopia (no green cones) | #466FB9 | 0.072 |
| Tritanopia (no blue cones) | #687385 | 0.110 |
| Achromatopsia (no color) | #707070 | 0.135 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7862BB
#7862BB
oklch(55.8% 0.135 292.9)
- #757B00
#757B00
oklch(55.9% 0.125 113.1)
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 #7862BB, closest first.
No curated palette has a color within ΔE 0.04 of #7862BB.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Lavender #8D5EB7 ΔE 0.036
- Light Indigo #6D5ACF ΔE 0.044
- Slate Blue #6A5ACD ΔE 0.044
- Dark Periwinkle #665FD1 ΔE 0.046
- Iris #6258C4 ΔE 0.048
- Amethyst #9B5FC0 ΔE 0.060
- Deep Lilac #966EBD ΔE 0.061
- Dark Lavender #856798 ΔE 0.064
Use #7862BB 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.