#8A67F1#8A67F1
#8A67F1 is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.8% C 0.198 H 291.2°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #8A67F1 |
|---|---|
| RGB | rgb(138, 103, 241) |
| HSL | hsl(255, 83%, 67%) |
| HSV | hsv(255, 57%, 95%) |
| CMYK | cmyk(42.7%, 57.3%, 0%, 5.5%) |
| CIE-LAB | lab(53.44, 45.61, -64.93) |
| CIE-LCH | lch(53.44, 79.35, 305.08°) |
| OKLab | oklab(61.78% 0.0716 -0.185) |
| OKLCH | oklch(61.78% 0.198 291.2) |
| XYZ | xyz(31.2043, 21.4536, 85.6989) |
| Luminance | 0.2145 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.72
Mediumpurple
#9370DB
ΔE00 4.65
Purpley
#8756E4
ΔE00 5.18
Lighter Purple
#A55AF4
ΔE00 5.46
Lightish Purple
#A552E6
ΔE00 7.14
Light Urple
#B36FF6
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A67F1 #CEF167
analogous
#6789F1 #8A67F1 #CF67F1
triadic
#8A67F1 #F18A67 #67F18A
tetradic
#8A67F1 #F16789 #CEF167 #67F1CF
square
#8A67F1 #F16789 #CEF167 #67F1CF
split-complementary
#8A67F1 #F1CF67 #89F167
monochromatic
#4113CB #5F2FEC #8A67F1 #B59FF6 #E0D7FB
Accessibility & contrast
On white
3.97
#8A67F1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#8A67F1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A67F1
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A67F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A67F1 | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0482F6
Deuteranopia (green-blind)
#197DEE
Tritanopia (blue-blind)
#6C85A2
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #8a67f1; /* rgb */ color: rgb(138, 103, 241); /* oklch */ color: oklch(61.8% 0.198 291.2);
Tailwind
colors: {
custom: {
50: '#b293f6',
500: '#8a67f1',
950: '#000000',
},
}SCSS
$custom: #8a67f1; $custom-light: #b293f6; $custom-dark: #000000;
JSON
{
"hex": "#8a67f1",
"rgb": {
"r": 138,
"g": 103,
"b": 241
},
"hsl": {
"h": 255.217,
"s": 83.133,
"l": 67.451
},
"oklch": {
"l": 0.61775,
"c": 0.1984,
"h": 291.2
},
"luminance": 0.21455
}Semantic roles & 50–950 ramp
primary
#8A67F1
secondary
#E5EFC4
accent
#E006A8
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85