#8152A6
Closest named color: Deep Lavender (#8D5EB7). oklch(52.7% 0.135 308.3), rgb(129, 82, 166).
Aa
White text reads best on this color (5.68:1).
About this color
#8152A6 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 53%, its chroma 0.135 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.043 away. White text reads best on it, at 5.68:1.
| Hue family | Purples |
| Lightness | medium-dark (53%) |
| Chroma | moderately saturated (0.135) |
| Temperature | in between |
| Nearest name | Deep Lavender (#8D5EB7) |
| Black text | 3.69:1 |
| White text | 5.68:1 |
Values
| HEX | #8152A6 |
| RGB | rgb(129, 82, 166) |
| HSL | hsl(274, 34%, 49%) |
| OKLCH | oklch(52.7% 0.135 308.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 #8152A6 | 5.68:1 | AA | Lc -83.5 | Fine for body text |
| Black text on #8152A6 | 3.69:1 | AA large text | Lc 25.9 | Dividers and decoration only |
| #8152A6 text on white | 5.68:1 | AA | Lc 78.2 | Fine for body text |
| #8152A6 text on black | 3.69:1 | AA large text | Lc -23.6 | 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
#F7F4FA
oklch(97.1% 0.009 308.4)
-
Step 100
100
#EDE7F3
oklch(93.6% 0.017 308.3)
-
Step 200
200
#DFD4EB
oklch(88.6% 0.033 307.1)
-
Step 300
300
#CCB7DF
oklch(81% 0.06 308.7)
-
Step 400
400
#B290CF
oklch(70.7% 0.097 308.7)
-
Step 500
500
#9F73C3
oklch(63.1% 0.125 308.5)
-
Step 600
600 (this color)
#8152A6
oklch(52.7% 0.135 308.3)
-
Step 700
700
#754A97
oklch(49.2% 0.126 308.2)
-
Step 800
800
#5F3D7A
oklch(42.7% 0.104 308.3)
-
Step 900
900
#4E3562
oklch(37.8% 0.08 308.6)
-
Step 950
950
#2D1F3A
oklch(27% 0.052 307.1)
#8152A6 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) | #3B65A9 | 0.107 |
| Deuteranopia (no green cones) | #4967A4 | 0.096 |
| Tritanopia (no blue cones) | #7C6074 | 0.097 |
| Achromatopsia (no color) | #676767 | 0.136 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8152A6
#8152A6
oklch(52.7% 0.135 308.3)
- #537908
#537908
oklch(52.8% 0.136 128.5)
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 #8152A6, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Lavender #8D5EB7 ΔE 0.043
- Light Eggplant #894585 ΔE 0.057
- Purply #983FB2 ΔE 0.059
- Muted Purple #805B87 ΔE 0.060
- Dark Lavender #856798 ΔE 0.064
- Dusty Purple #825F87 ΔE 0.066
- Amethyst #9B5FC0 ΔE 0.068
- Iris #6258C4 ΔE 0.069
Use #8152A6 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.