#8151F6
Closest named color: Purpley (#8756E4). oklch(58.1% 0.232 290.7), rgb(129, 81, 246).
Aa
White text reads best on this color (4.72:1).
About this color
#8151F6 is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.232 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.032 away. White text reads best on it, at 4.72:1.
| Hue family | Purples |
| Lightness | medium-dark (58%) |
| Chroma | vivid (0.232) |
| Temperature | in between |
| Nearest name | Purpley (#8756E4) |
| Black text | 4.44:1 |
| White text | 4.72:1 |
Values
| HEX | #8151F6 |
| RGB | rgb(129, 81, 246) |
| HSL | hsl(257, 90%, 64%) |
| OKLCH | oklch(58.1% 0.232 290.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 #8151F6 | 4.72:1 | AA | Lc -77.6 | Fine for body text |
| Black text on #8151F6 | 4.44:1 | AA large text | Lc 31.9 | Non-text elements, placeholder text |
| #8151F6 text on white | 4.72:1 | AA | Lc 72.2 | Content text, not long reading |
| #8151F6 text on black | 4.44:1 | AA large text | Lc -29.5 | 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
#F5F4FE
oklch(97.1% 0.013 290.8)
-
Step 100
100
#E9E7FD
oklch(93.6% 0.03 290)
-
Step 200
200
#D8D3FD
oklch(88.4% 0.058 290.6)
-
Step 300
300
#C0B5FF
oklch(80.9% 0.104 290.7)
-
Step 400
400
#A28BFF
oklch(70.7% 0.166 290.7)
-
Step 500
500
#8E68FE
oklch(63.2% 0.213 290.7)
-
Step 600
600 (this color)
#8151F6
oklch(58.1% 0.232 290.7)
-
Step 700
700
#6737CE
oklch(49% 0.216 290.7)
-
Step 800
800
#5430A7
oklch(42.8% 0.179 290.7)
-
Step 900
900
#452D84
oklch(37.8% 0.139 291)
-
Step 950
950
#281B4D
oklch(26.9% 0.088 291.3)
#8151F6 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) | #0076FB | 0.128 |
| Deuteranopia (no green cones) | #0070F3 | 0.126 |
| Tritanopia (no blue cones) | #5B7A9D | 0.186 |
| Achromatopsia (no color) | #737373 | 0.234 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8151F6
#8151F6
oklch(58.1% 0.232 290.7)
- #7F8100
#7F8100
oklch(58.2% 0.128 110.9)
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 #8151F6, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purpley #8756E4 ΔE 0.032
- Medium Slate Blue #7B68EE ΔE 0.049
- Blue Violet #8A2BE2 ΔE 0.068
- Lighter Purple #A55AF4 ΔE 0.068
- Light Indigo #6D5ACF ΔE 0.069
- Slate Blue #6A5ACD ΔE 0.074
- Dark Periwinkle #665FD1 ΔE 0.075
- Burple #6832E3 ΔE 0.078
Use #8151F6 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.