#8170FD
Closest named color: Medium Slate Blue (#7B68EE). oklch(63.3% 0.202 284.5), rgb(129, 112, 253).
Aa
Black text reads best on this color (5.66:1).
About this color
#8170FD is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.202 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.030 away. Black text reads best on it, at 5.66:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.202) |
| Temperature | cool |
| Nearest name | Medium Slate Blue (#7B68EE) |
| Black text | 5.66:1 |
| White text | 3.70:1 |
Values
| HEX | #8170FD |
| RGB | rgb(129, 112, 253) |
| HSL | hsl(247, 97%, 72%) |
| OKLCH | oklch(63.3% 0.202 284.5) |
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 #8170FD | 3.70:1 | AA large text | Lc -69.8 | Content text, not long reading |
| Black text on #8170FD | 5.66:1 | AA | Lc 39.8 | Non-text elements, placeholder text |
| #8170FD text on white | 3.70:1 | AA large text | Lc 64.3 | Content text, not long reading |
| #8170FD text on black | 5.66:1 | AA | Lc -37.4 | 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
#D4D5FD
oklch(88.5% 0.055 284.1)
-
Step 300
300
#B9B8FE
oklch(80.9% 0.098 284.6)
-
Step 400
400
#9790FE
oklch(70.7% 0.158 284.5)
-
Step 500
500 (this color)
#8170FD
oklch(63.3% 0.202 284.5)
-
Step 600
600
#6C52EB
oklch(55.5% 0.219 284.5)
-
Step 700
700
#5B41CD
oklch(49.1% 0.204 284.5)
-
Step 800
800
#4A37A6
oklch(42.7% 0.17 284.5)
-
Step 900
900
#3D3183
oklch(37.6% 0.132 284.8)
-
Step 950
950
#231E4D
oklch(27% 0.084 284.1)
#8170FD 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) | #0989FF | 0.105 |
| Deuteranopia (no green cones) | #0080FA | 0.104 |
| Tritanopia (no blue cones) | #5490AC | 0.170 |
| Achromatopsia (no color) | #858585 | 0.203 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8170FD
#8170FD
oklch(63.3% 0.202 284.5)
- #978D00
#978D00
oklch(63.2% 0.134 104.6)
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 #8170FD, closest first.
No curated palette has a color within ΔE 0.04 of #8170FD.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Slate Blue #7B68EE ΔE 0.030
- Cornflower #6A79F7 ΔE 0.037
- Periwinkle #8E82FE ΔE 0.048
- Medium Purple #9370DB ΔE 0.058
- Lavender Blue #8B88F8 ΔE 0.062
- Purpley #8756E4 ΔE 0.065
- Lighter Purple #A55AF4 ΔE 0.071
- Soft Blue #6488EA ΔE 0.074
Use #8170FD 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.