#845CCB
Closest named color: Deep Lavender (#8D5EB7). oklch(56.9% 0.166 297.5), rgb(132, 92, 203).
Aa
White text reads best on this color (4.80:1).
About this color
#845CCB is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.166 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.036 away. White text reads best on it, at 4.80:1.
| Hue family | Purples |
| Lightness | medium-dark (57%) |
| Chroma | vivid (0.166) |
| Temperature | in between |
| Nearest name | Deep Lavender (#8D5EB7) |
| Black text | 4.37:1 |
| White text | 4.80:1 |
Values
| HEX | #845CCB |
| RGB | rgb(132, 92, 203) |
| HSL | hsl(262, 52%, 58%) |
| OKLCH | oklch(56.9% 0.166 297.5) |
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 #845CCB | 4.80:1 | AA | Lc -78.4 | Fine for body text |
| Black text on #845CCB | 4.37:1 | AA large text | Lc 31.1 | Non-text elements, placeholder text |
| #845CCB text on white | 4.80:1 | AA | Lc 73.0 | Content text, not long reading |
| #845CCB text on black | 4.37:1 | AA large text | Lc -28.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
#F6F4FC
oklch(97.1% 0.011 297.6)
-
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
#C6B7EB
oklch(80.9% 0.074 297.9)
-
Step 400
400
#A990E2
oklch(70.7% 0.12 297.3)
-
Step 500
500
#9572D9
oklch(63.1% 0.153 297.5)
-
Step 600
600 (this color)
#845CCB
oklch(56.9% 0.166 297.5)
-
Step 700
700
#6C47AC
oklch(49.1% 0.155 297.2)
-
Step 800
800
#583B8B
oklch(42.7% 0.128 297.4)
-
Step 900
900
#48346F
oklch(37.8% 0.099 297.1)
-
Step 950
950
#2A1F41
oklch(27% 0.062 297)
#845CCB 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) | #2C72CF | 0.114 |
| Deuteranopia (no green cones) | #3971C8 | 0.106 |
| Tritanopia (no blue cones) | #74728B | 0.129 |
| Achromatopsia (no color) | #727272 | 0.167 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #845CCB
#845CCB
oklch(56.9% 0.166 297.5)
- #728000
#728000
oklch(56.8% 0.131 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 #845CCB, closest first.
No curated palette has a color within ΔE 0.04 of #845CCB.
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.040
- Purpley #8756E4 ΔE 0.041
- Slate Blue #6A5ACD ΔE 0.044
- Amethyst #9B5FC0 ΔE 0.046
- Dark Periwinkle #665FD1 ΔE 0.049
- Medium Purple #9370DB ΔE 0.058
- Medium Slate Blue #7B68EE ΔE 0.058
Use #845CCB 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.