#845DCB
Closest named color: Deep Lavender (#8D5EB7). oklch(57.1% 0.165 297.3), rgb(132, 93, 203).
Aa
White text reads best on this color (4.76:1).
About this color
#845DCB is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.165 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.035 away. White text reads best on it, at 4.76:1.
| Hue family | Purples |
| Lightness | medium-dark (57%) |
| Chroma | vivid (0.165) |
| Temperature | in between |
| Nearest name | Deep Lavender (#8D5EB7) |
| Black text | 4.40:1 |
| White text | 4.76:1 |
Values
| HEX | #845DCB |
| RGB | rgb(132, 93, 203) |
| HSL | hsl(261, 51%, 58%) |
| OKLCH | oklch(57.1% 0.165 297.3) |
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 #845DCB | 4.76:1 | AA | Lc -78.2 | Fine for body text |
| Black text on #845DCB | 4.40:1 | AA large text | Lc 31.3 | Non-text elements, placeholder text |
| #845DCB text on white | 4.76:1 | AA | Lc 72.8 | Content text, not long reading |
| #845DCB text on black | 4.40:1 | AA large text | Lc -28.9 | 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
#F6F4FB
oklch(97.1% 0.009 299.2)
-
Step 100
100
#EBE7F7
oklch(93.6% 0.022 297.4)
-
Step 200
200
#DCD4F2
oklch(88.6% 0.042 297.7)
-
Step 300
300
#C5B7EB
oklch(80.9% 0.074 297.1)
-
Step 400
400
#A990E1
oklch(70.7% 0.118 297.5)
-
Step 500
500
#9472D9
oklch(63% 0.152 297)
-
Step 600
600 (this color)
#845DCB
oklch(57.1% 0.165 297.3)
-
Step 700
700
#6C48AB
oklch(49.1% 0.153 297.2)
-
Step 800
800
#583C8B
oklch(42.8% 0.127 297.1)
-
Step 900
900
#48346F
oklch(37.8% 0.099 297.1)
-
Step 950
950
#2A1F41
oklch(27% 0.062 297)
#845DCB 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) | #2F73CF | 0.111 |
| Deuteranopia (no green cones) | #3A71C8 | 0.104 |
| Tritanopia (no blue cones) | #74738B | 0.129 |
| Achromatopsia (no color) | #737373 | 0.165 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #845DCB
#845DCB
oklch(57.1% 0.165 297.3)
- #738100
#738100
oklch(57.2% 0.132 117.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 #845DCB, closest first.
No curated palette has a color within ΔE 0.04 of #845DCB.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Lavender #8D5EB7 ΔE 0.035
- Light Indigo #6D5ACF ΔE 0.040
- Purpley #8756E4 ΔE 0.042
- Slate Blue #6A5ACD ΔE 0.044
- Amethyst #9B5FC0 ΔE 0.045
- Dark Periwinkle #665FD1 ΔE 0.049
- Medium Purple #9370DB ΔE 0.056
- Medium Slate Blue #7B68EE ΔE 0.058
Use #845DCB 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.