#8A75E2#8A75E2
#8A75E2 is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.2% C 0.159 H 289.9°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #8A75E2 |
|---|---|
| RGB | rgb(138, 117, 226) |
| HSL | hsl(252, 65%, 67%) |
| HSV | hsv(252, 48%, 89%) |
| CMYK | cmyk(38.9%, 48.2%, 0%, 11.4%) |
| CIE-LAB | lab(55.70, 33.50, -52.92) |
| CIE-LCH | lch(55.70, 62.63, 302.34°) |
| OKLab | oklab(63.16% 0.0543 -0.1497) |
| OKLCH | oklch(63.16% 0.159 289.9) |
| XYZ | xyz(30.5662, 23.6159, 74.8846) |
| Luminance | 0.2362 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.98
Mediumslateblue
#7B68EE
ΔE00 4.94
Periwinkle (survey)
#8E82FE
ΔE00 5.44
Lavender Blue
#8B88F8
ΔE00 6.53
Perrywinkle
#8F8CE7
ΔE00 7.00
Cornflower
#6A79F7
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A75E2 #CDE275
analogous
#7596E2 #8A75E2 #C175E2
triadic
#8A75E2 #E28A75 #75E28A
tetradic
#8A75E2 #E27596 #CDE275 #75E2C1
square
#8A75E2 #E27596 #CDE275 #75E2C1
split-complementary
#8A75E2 #E2C175 #96E275
monochromatic
#4226B6 #5F42D7 #8A75E2 #B5A8ED #E0DAF7
Accessibility & contrast
On white
3.67
#8A75E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.72
#8A75E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A75E2
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A75E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A75E2 | 1.00 | 3.67 | 5.72 | 5.72 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B88E6
Deuteranopia (green-blind)
#4C83DF
Tritanopia (blue-blind)
#728BA1
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8a75e2; /* rgb */ color: rgb(138, 117, 226); /* oklch */ color: oklch(63.2% 0.159 289.9);
Tailwind
colors: {
custom: {
50: '#b09dec',
500: '#8a75e2',
950: '#000000',
},
}SCSS
$custom: #8a75e2; $custom-light: #b09dec; $custom-dark: #000000;
JSON
{
"hex": "#8a75e2",
"rgb": {
"r": 138,
"g": 117,
"b": 226
},
"hsl": {
"h": 251.56,
"s": 65.269,
"l": 67.255
},
"oklch": {
"l": 0.63164,
"c": 0.15925,
"h": 289.9
},
"luminance": 0.23617
}Semantic roles & 50–950 ramp
primary
#8A75E2
secondary
#E4EBC8
accent
#CD18AA
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84