#8165F2
Closest named color: Medium Slate Blue (#7B68EE). oklch(60.7% 0.203 288), rgb(129, 101, 242).
Aa
Black text reads best on this color (5.07:1).
About this color
#8165F2 is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.203 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.012 away. Black text reads best on it, at 5.07:1.
| Hue family | Purples |
| Lightness | medium-dark (61%) |
| Chroma | vivid (0.203) |
| Temperature | cool |
| Nearest name | Medium Slate Blue (#7B68EE) |
| Black text | 5.07:1 |
| White text | 4.13:1 |
Values
| HEX | #8165F2 |
| RGB | rgb(129, 101, 242) |
| HSL | hsl(252, 84%, 67%) |
| OKLCH | oklch(60.7% 0.203 288) |
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 #8165F2 | 4.13:1 | AA large text | Lc -73.6 | Content text, not long reading |
| Black text on #8165F2 | 5.07:1 | AA | Lc 36.0 | Non-text elements, placeholder text |
| #8165F2 text on white | 4.13:1 | AA large text | Lc 68.1 | Content text, not long reading |
| #8165F2 text on black | 5.07:1 | AA | Lc -33.6 | 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
#F5F4FE
oklch(97.1% 0.013 290.8)
-
Step 100
100
#E8E7FD
oklch(93.5% 0.03 287.9)
-
Step 200
200
#D7D4FC
oklch(88.5% 0.055 288.7)
-
Step 300
300
#BDB7FD
oklch(80.9% 0.098 287.9)
-
Step 400
400
#9D8EFD
oklch(70.8% 0.159 287.8)
-
Step 500
500 (this color)
#8165F2
oklch(60.7% 0.203 288)
-
Step 600
600
#744FE9
oklch(55.6% 0.22 288.1)
-
Step 700
700
#623ECB
oklch(49.1% 0.205 288.1)
-
Step 800
800
#4F35A4
oklch(42.7% 0.169 287.8)
-
Step 900
900
#413082
oklch(37.7% 0.132 287.9)
-
Step 950
950
#261D4C
oklch(27% 0.083 288.3)
#8165F2 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) | #0080F7 | 0.114 |
| Deuteranopia (no green cones) | #0079EF | 0.113 |
| Tritanopia (no blue cones) | #5C85A2 | 0.167 |
| Achromatopsia (no color) | #7D7D7D | 0.203 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8165F2
#8165F2
oklch(60.7% 0.203 288)
- #8B8700
#8B8700
oklch(60.7% 0.131 107.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 #8165F2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Slate Blue #7B68EE ΔE 0.012
- Purpley #8756E4 ΔE 0.037
- Cornflower #6A79F7 ΔE 0.052
- Medium Purple #9370DB ΔE 0.056
- Lighter Purple #A55AF4 ΔE 0.062
- Light Indigo #6D5ACF ΔE 0.067
- Dark Periwinkle #665FD1 ΔE 0.067
- Slate Blue #6A5ACD ΔE 0.072
Use #8165F2 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.