#8A7DFF
Closest named color: Periwinkle (#8E82FE). oklch(66.4% 0.186 284.6), rgb(138, 125, 255).
Aa
Black text reads best on this color (6.45:1).
About this color
#8A7DFF is a medium-light, vivid purple. In OKLCH its lightness is 66%, its chroma 0.186 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle (#8E82FE), ΔE 0.014 away. Black text reads best on it, at 6.45:1.
| Hue family | Purples |
| Lightness | medium-light (66%) |
| Chroma | vivid (0.186) |
| Temperature | cool |
| Nearest name | Periwinkle (#8E82FE) |
| Black text | 6.45:1 |
| White text | 3.25:1 |
Values
| HEX | #8A7DFF |
| RGB | rgb(138, 125, 255) |
| HSL | hsl(246, 100%, 75%) |
| OKLCH | oklch(66.4% 0.186 284.6) |
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 #8A7DFF | 3.25:1 | AA large text | Lc -65.0 | Content text, not long reading |
| Black text on #8A7DFF | 6.45:1 | AA | Lc 44.5 | Non-text elements, placeholder text |
| #8A7DFF text on white | 3.25:1 | AA large text | Lc 59.6 | Large or bold text, headings |
| #8A7DFF text on black | 6.45:1 | AA | Lc -42.2 | 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
#E7E8FB
oklch(93.6% 0.026 283.5)
-
Step 200
200
#D5D5FA
oklch(88.5% 0.051 285.3)
-
Step 300
300
#BAB9FA
oklch(81% 0.091 284.9)
-
Step 400
400
#9892F7
oklch(70.8% 0.145 284.8)
-
Step 500
500 (this color)
#8A7DFF
oklch(66.4% 0.186 284.6)
-
Step 600
600
#6C57E2
oklch(55.6% 0.202 284.6)
-
Step 700
700
#5B46C5
oklch(49.2% 0.189 284.6)
-
Step 800
800
#4A3A9F
oklch(42.6% 0.157 284.8)
-
Step 900
900
#3D347E
oklch(37.8% 0.121 284.6)
-
Step 950
950
#231F4A
oklch(27% 0.077 284.2)
#8A7DFF 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) | #3F92FF | 0.089 |
| Deuteranopia (no green cones) | #3A8BFC | 0.089 |
| Tritanopia (no blue cones) | #6399B2 | 0.159 |
| Achromatopsia (no color) | #8F8F8F | 0.187 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8A7DFF
#8A7DFF
oklch(66.4% 0.186 284.6)
- #A19700
#A19700
oklch(66.4% 0.141 104.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 #8A7DFF, closest first.
No curated palette has a color within ΔE 0.04 of #8A7DFF.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Periwinkle #8E82FE ΔE 0.014
- Lavender Blue #8B88F8 ΔE 0.030
- Cornflower #6A79F7 ΔE 0.048
- Perrywinkle #8F8CE7 ΔE 0.057
- Medium Purple #9370DB ΔE 0.059
- Medium Slate Blue #7B68EE ΔE 0.060
- Soft Blue #6488EA ΔE 0.065
- Light Urple #B36FF6 ΔE 0.069
Use #8A7DFF 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.