#845DA2
Closest named color: Dark Lavender (#856798). oklch(54.7% 0.112 309.1), rgb(132, 93, 162).
Aa
White text reads best on this color (5.16:1).
About this color
#845DA2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 55%, its chroma 0.112 and its hue 309°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.034 away. White text reads best on it, at 5.16:1.
| Hue family | Purples |
| Lightness | medium-dark (55%) |
| Chroma | moderately saturated (0.112) |
| Temperature | in between |
| Nearest name | Dark Lavender (#856798) |
| Black text | 4.06:1 |
| White text | 5.16:1 |
Values
| HEX | #845DA2 |
| RGB | rgb(132, 93, 162) |
| HSL | hsl(274, 27%, 50%) |
| OKLCH | oklch(54.7% 0.112 309.1) |
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 #845DA2 | 5.16:1 | AA | Lc -80.8 | Fine for body text |
| Black text on #845DA2 | 4.06:1 | AA large text | Lc 28.7 | Dividers and decoration only |
| #845DA2 text on white | 5.16:1 | AA | Lc 75.4 | Fine for body text |
| #845DA2 text on black | 4.06:1 | AA large text | Lc -26.3 | 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
#F7F4F9
oklch(97.1% 0.007 312.3)
-
Step 100
100
#EDE7F1
oklch(93.6% 0.015 312.2)
-
Step 200
200
#DED4E8
oklch(88.4% 0.029 308.1)
-
Step 300
300
#CAB8DA
oklch(80.8% 0.051 309)
-
Step 400
400
#AF93C7
oklch(70.7% 0.08 308.9)
-
Step 500
500
#9C78B9
oklch(63.2% 0.103 309.1)
-
Step 600
600 (this color)
#845DA2
oklch(54.7% 0.112 309.1)
-
Step 700
700
#724F8D
oklch(49.2% 0.103 309)
-
Step 800
800
#5D4173
oklch(42.8% 0.086 308.9)
-
Step 900
900
#4C375D
oklch(37.7% 0.068 308.8)
-
Step 950
950
#2D2036
oklch(26.9% 0.044 310.7)
#845DA2 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) | #4E6BA5 | 0.084 |
| Deuteranopia (no green cones) | #586EA0 | 0.078 |
| Tritanopia (no blue cones) | #806878 | 0.081 |
| Achromatopsia (no color) | #6D6D6D | 0.113 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #845DA2
#845DA2
oklch(54.7% 0.112 309.1)
- #5C7D30
#5C7D30
oklch(54.7% 0.112 129.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 #845DA2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Lavender #856798 ΔE 0.034
- Deep Lavender #8D5EB7 ΔE 0.036
- Muted Purple #805B87 ΔE 0.043
- Dusty Purple #825F87 ΔE 0.045
- Dull Purple #84597E ΔE 0.056
- Faded Purple #916E99 ΔE 0.057
- Amethyst #9B5FC0 ΔE 0.061
- Dark Lilac #9C6DA5 ΔE 0.061
Use #845DA2 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.