#8A75CD#8A75CD
#8A75CD is a mid, vivid violet. Relative luminance 0.225; OKLCH L 62.0% C 0.131 H 293.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #8A75CD |
|---|---|
| RGB | rgb(138, 117, 205) |
| HSL | hsl(254, 47%, 63%) |
| HSV | hsv(254, 43%, 80%) |
| CMYK | cmyk(32.7%, 42.9%, 0%, 19.6%) |
| CIE-LAB | lab(54.59, 27.87, -42.83) |
| CIE-LCH | lch(54.59, 51.11, 303.05°) |
| OKLab | oklab(61.96% 0.0515 -0.1203) |
| OKLCH | oklch(61.96% 0.131 293.2) |
| XYZ | xyz(27.8592, 22.5331, 60.6273) |
| Luminance | 0.2253 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.34
Deep Lilac
#966EBD
ΔE00 5.38
Mediumslateblue
#7B68EE
ΔE00 7.35
Perrywinkle
#8F8CE7
ΔE00 7.97
Periwinkle (survey)
#8E82FE
ΔE00 8.31
Deep Lavender
#8D5EB7
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A75CD #B8CD75
analogous
#758CCD #8A75CD #B675CD
triadic
#8A75CD #CD8A75 #75CD8A
tetradic
#8A75CD #CD758C #B8CD75 #75CDB6
square
#8A75CD #CD758C #B8CD75 #75CDB6
split-complementary
#8A75CD #CDB675 #8CCD75
monochromatic
#4B3593 #6448BD #8A75CD #B0A2DD #D6CFEE
Accessibility & contrast
On white
3.81
#8A75CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.51
#8A75CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A75CD
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A75CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A75CD | 1.00 | 3.81 | 5.51 | 5.51 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5984D0
Deuteranopia (green-blind)
#5C81CB
Tritanopia (blue-blind)
#7A8597
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8a75cd; /* rgb */ color: rgb(138, 117, 205); /* oklch */ color: oklch(62.0% 0.131 293.2);
Tailwind
colors: {
custom: {
50: '#ae9ddc',
500: '#8a75cd',
950: '#000000',
},
}SCSS
$custom: #8a75cd; $custom-light: #ae9ddc; $custom-dark: #000000;
JSON
{
"hex": "#8a75cd",
"rgb": {
"r": 138,
"g": 117,
"b": 205
},
"hsl": {
"h": 254.318,
"s": 46.809,
"l": 63.137
},
"oklch": {
"l": 0.61964,
"c": 0.13082,
"h": 293.2
},
"luminance": 0.22534
}Semantic roles & 50–950 ramp
primary
#8A75CD
secondary
#D7DFBF
accent
#BA2B98
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110E15
muted
#807E83