#8D5798
Closest named color: Muted Purple (#805B87). oklch(54.2% 0.115 320.7), rgb(141, 87, 152).
Aa
White text reads best on this color (5.31:1).
About this color
#8D5798 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 54%, its chroma 0.115 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Muted Purple (#805B87), ΔE 0.038 away. White text reads best on it, at 5.31:1.
| Hue family | Purples |
| Lightness | medium-dark (54%) |
| Chroma | moderately saturated (0.115) |
| Temperature | in between |
| Nearest name | Muted Purple (#805B87) |
| Black text | 3.94:1 |
| White text | 5.31:1 |
Values
| HEX | #8D5798 |
| RGB | rgb(141, 87, 152) |
| HSL | hsl(290, 27%, 47%) |
| OKLCH | oklch(54.2% 0.115 320.7) |
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 #8D5798 | 5.31:1 | AA | Lc -81.6 | Fine for body text |
| Black text on #8D5798 | 3.94:1 | AA large text | Lc 27.8 | Dividers and decoration only |
| #8D5798 text on white | 5.31:1 | AA | Lc 76.2 | Fine for body text |
| #8D5798 text on black | 3.94:1 | AA large text | Lc -25.5 | 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
#F8F4F8
oklch(97.1% 0.007 325.6)
-
Step 100
100
#EFE7F0
oklch(93.7% 0.015 322.3)
-
Step 200
200
#E2D3E5
oklch(88.4% 0.029 320.6)
-
Step 300
300
#D0B6D6
oklch(80.8% 0.053 319.9)
-
Step 400
400
#B890C1
oklch(70.7% 0.083 320.1)
-
Step 500
500
#A673B1
oklch(63% 0.107 320.3)
-
Step 600
600 (this color)
#8D5798
oklch(54.2% 0.115 320.7)
-
Step 700
700
#7C4B86
oklch(49.2% 0.107 320.6)
-
Step 800
800
#653D6D
oklch(42.7% 0.091 320.8)
-
Step 900
900
#523558
oklch(37.7% 0.069 320.6)
-
Step 950
950
#301F34
oklch(27% 0.045 319.8)
#8D5798 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) | #4E679A | 0.103 |
| Deuteranopia (no green cones) | #5D6D96 | 0.092 |
| Tritanopia (no blue cones) | #8E5F70 | 0.073 |
| Achromatopsia (no color) | #6B6B6B | 0.116 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8D5798
#8D5798
oklch(54.2% 0.115 320.7)
- #477F3C
#477F3C
oklch(54.1% 0.115 140.4)
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 #8D5798, closest first.
No curated palette has a color within ΔE 0.04 of #8D5798.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Muted Purple #805B87 ΔE 0.038
- Dusty Purple #825F87 ΔE 0.042
- Dark Lavender #856798 ΔE 0.042
- Light Plum #9D5783 ΔE 0.045
- Dull Purple #84597E ΔE 0.046
- Light Eggplant #894585 ΔE 0.048
- Deep Lavender #8D5EB7 ΔE 0.048
- Dusky Purple #895B7B ΔE 0.051
Use #8D5798 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.