#878298
Closest named color: Lavender Gray (#7E7F9A). oklch(61.8% 0.033 295.8), rgb(135, 130, 152).
Aa
Black text reads best on this color (5.67:1).
About this color
#878298 is a medium-dark, muted purple. In OKLCH its lightness is 62%, its chroma 0.033 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.017 away. Black text reads best on it, at 5.67:1.
| Hue family | Purples |
| Lightness | medium-dark (62%) |
| Chroma | muted (0.033) |
| Temperature | in between |
| Nearest name | Lavender Gray (#7E7F9A) |
| Black text | 5.67:1 |
| White text | 3.69:1 |
Values
| HEX | #878298 |
| RGB | rgb(135, 130, 152) |
| HSL | hsl(254, 10%, 55%) |
| OKLCH | oklch(61.8% 0.033 295.8) |
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 #878298 | 3.69:1 | AA large text | Lc -70.1 | Content text, not long reading |
| Black text on #878298 | 5.67:1 | AA | Lc 39.5 | Non-text elements, placeholder text |
| #878298 text on white | 3.69:1 | AA large text | Lc 64.6 | Content text, not long reading |
| #878298 text on black | 5.67:1 | AA | Lc -37.1 | Non-text elements, placeholder text |
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 500.
-
Step 50
50
#F5F5F7
oklch(97.1% 0.003 286.4)
-
Step 100
100
#EAE9ED
oklch(93.6% 0.005 297.7)
-
Step 200
200
#D9D8DF
oklch(88.5% 0.01 292.8)
-
Step 300
300
#C1BFCA
oklch(81% 0.015 294.4)
-
Step 400
400
#A29EAF
oklch(70.8% 0.025 296.5)
-
Step 500
500 (this color)
#878298
oklch(61.8% 0.033 295.8)
-
Step 600
600
#756F87
oklch(55.6% 0.037 296.6)
-
Step 700
700
#625D72
oklch(49.1% 0.034 296)
-
Step 800
800
#504C5D
oklch(42.7% 0.028 296)
-
Step 900
900
#423F4C
oklch(37.6% 0.022 295.9)
-
Step 950
950
#27252D
oklch(27% 0.015 296.8)
#878298 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) | #7E8599 | 0.014 |
| Deuteranopia (no green cones) | #7E8597 | 0.015 |
| Tritanopia (no blue cones) | #848589 | 0.028 |
| Achromatopsia (no color) | #858585 | 0.033 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #878298
#878298
oklch(61.8% 0.033 295.8)
- #848872
#848872
oklch(61.7% 0.032 115.7)
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 #878298, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lavender Gray #7E7F9A ΔE 0.017
- Purpley Grey #947E94 ΔE 0.021
- Light Slate Gray #778899 ΔE 0.026
- Steel #738595 ΔE 0.030
- Blue Grey #758DA3 ΔE 0.036
- Slate Gray #708090 ΔE 0.037
- Silver Lake Blue #778DA9 ΔE 0.037
- Gray #808080 ΔE 0.038
Use #878298 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.