#8F5FAC
Closest named color: Deep Lavender (#8D5EB7). oklch(56.8% 0.125 311.7), rgb(143, 95, 172).
Aa
White text reads best on this color (4.77:1).
About this color
#8F5FAC is a medium-dark, moderately saturated purple. In OKLCH its lightness is 57%, its chroma 0.125 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.018 away. White text reads best on it, at 4.77:1.
| Hue family | Purples |
| Lightness | medium-dark (57%) |
| Chroma | moderately saturated (0.125) |
| Temperature | in between |
| Nearest name | Deep Lavender (#8D5EB7) |
| Black text | 4.40:1 |
| White text | 4.77:1 |
Values
| HEX | #8F5FAC |
| RGB | rgb(143, 95, 172) |
| HSL | hsl(277, 32%, 52%) |
| OKLCH | oklch(56.8% 0.125 311.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 #8F5FAC | 4.77:1 | AA | Lc -78.4 | Fine for body text |
| Black text on #8F5FAC | 4.40:1 | AA large text | Lc 31.1 | Non-text elements, placeholder text |
| #8F5FAC text on white | 4.77:1 | AA | Lc 72.9 | Content text, not long reading |
| #8F5FAC text on black | 4.40:1 | AA large text | Lc -28.8 | 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
#F7F4F9
oklch(97.1% 0.007 312.3)
-
Step 100
100
#EDE7F2
oklch(93.6% 0.016 310.1)
-
Step 200
200
#E0D4E9
oklch(88.6% 0.031 311)
-
Step 300
300
#CDB7DC
oklch(81% 0.056 311.6)
-
Step 400
400
#B390CA
oklch(70.6% 0.091 311.5)
-
Step 500
500
#A074BC
oklch(63% 0.115 311.4)
-
Step 600
600 (this color)
#8F5FAC
oklch(56.8% 0.125 311.7)
-
Step 700
700
#764B90
oklch(49.1% 0.116 311.5)
-
Step 800
800
#603E75
oklch(42.7% 0.096 311.4)
-
Step 900
900
#4F355E
oklch(37.7% 0.075 312.3)
-
Step 950
950
#2E1F37
oklch(26.9% 0.048 312.1)
#8F5FAC 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) | #4F70AF | 0.100 |
| Deuteranopia (no green cones) | #5B74AA | 0.092 |
| Tritanopia (no blue cones) | #8C6B7D | 0.089 |
| Achromatopsia (no color) | #737373 | 0.126 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8F5FAC
#8F5FAC
oklch(56.8% 0.125 311.7)
- #5B852F
#5B852F
oklch(56.7% 0.125 131.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 #8F5FAC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Lavender #8D5EB7 ΔE 0.018
- Amethyst #9B5FC0 ΔE 0.037
- Deep Lilac #966EBD ΔE 0.044
- Dark Lavender #856798 ΔE 0.044
- Dark Lilac #9C6DA5 ΔE 0.048
- Faded Purple #916E99 ΔE 0.055
- Soft Purple #A66FB5 ΔE 0.059
- Dusty Purple #825F87 ΔE 0.063
Use #8F5FAC 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.