#8170FA
Closest named color: Medium Slate Blue (#7B68EE). oklch(63.1% 0.198 284.8), rgb(129, 112, 250).
Aa
Black text reads best on this color (5.63:1).
About this color
#8170FA is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.198 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.027 away. Black text reads best on it, at 5.63:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.198) |
| Temperature | cool |
| Nearest name | Medium Slate Blue (#7B68EE) |
| Black text | 5.63:1 |
| White text | 3.72:1 |
Values
| HEX | #8170FA |
| RGB | rgb(129, 112, 250) |
| HSL | hsl(247, 93%, 71%) |
| OKLCH | oklch(63.1% 0.198 284.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 #8170FA | 3.72:1 | AA large text | Lc -70.0 | Content text, not long reading |
| Black text on #8170FA | 5.63:1 | AA | Lc 39.6 | Non-text elements, placeholder text |
| #8170FA text on white | 3.72:1 | AA large text | Lc 64.5 | Content text, not long reading |
| #8170FA text on black | 5.63: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
#F4F4FE
oklch(97% 0.013 286.1)
-
Step 100
100
#E7E8FD
oklch(93.7% 0.028 283.7)
-
Step 200
200
#D5D5FC
oklch(88.5% 0.053 285.3)
-
Step 300
300
#B9B8FD
oklch(80.8% 0.097 284.7)
-
Step 400
400
#9890FC
oklch(70.7% 0.155 285.1)
-
Step 500
500 (this color)
#8170FA
oklch(63.1% 0.198 284.8)
-
Step 600
600
#6D53E9
oklch(55.6% 0.216 284.9)
-
Step 700
700
#5B42CB
oklch(49.1% 0.201 284.6)
-
Step 800
800
#4A38A4
oklch(42.7% 0.166 284.5)
-
Step 900
900
#3D3282
oklch(37.7% 0.129 284.6)
-
Step 950
950
#231E4C
oklch(26.9% 0.082 284.4)
#8170FA 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) | #1688FF | 0.102 |
| Deuteranopia (no green cones) | #0780F7 | 0.104 |
| Tritanopia (no blue cones) | #568FAA | 0.168 |
| Achromatopsia (no color) | #848484 | 0.199 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8170FA
#8170FA
oklch(63.1% 0.198 284.8)
- #968D00
#968D00
oklch(63.1% 0.134 105.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 #8170FA, closest first.
No curated palette has a color within ΔE 0.04 of #8170FA.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Slate Blue #7B68EE ΔE 0.027
- Cornflower #6A79F7 ΔE 0.036
- Periwinkle #8E82FE ΔE 0.048
- Medium Purple #9370DB ΔE 0.054
- Lavender Blue #8B88F8 ΔE 0.061
- Purpley #8756E4 ΔE 0.063
- Lighter Purple #A55AF4 ΔE 0.070
- Soft Blue #6488EA ΔE 0.072
Use #8170FA 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.