#8A68F1#8A68F1
#8A68F1 is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.9% C 0.197 H 291.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #8A68F1 |
|---|---|
| RGB | rgb(138, 104, 241) |
| HSL | hsl(255, 83%, 68%) |
| HSV | hsv(255, 57%, 95%) |
| CMYK | cmyk(42.7%, 56.8%, 0%, 5.5%) |
| CIE-LAB | lab(53.66, 45.05, -64.58) |
| CIE-LCH | lch(53.66, 78.74, 304.90°) |
| OKLab | oklab(61.93% 0.0705 -0.184) |
| OKLCH | oklch(61.93% 0.197 291) |
| XYZ | xyz(31.3043, 21.6538, 85.7322) |
| Luminance | 0.2165 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.70
Mediumpurple
#9370DB
ΔE00 4.53
Purpley
#8756E4
ΔE00 5.44
Lighter Purple
#A55AF4
ΔE00 5.61
Lightish Purple
#A552E6
ΔE00 7.34
Periwinkle (survey)
#8E82FE
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A68F1 #CFF168
analogous
#688AF1 #8A68F1 #CF68F1
triadic
#8A68F1 #F18A68 #68F18A
tetradic
#8A68F1 #F1688A #CFF168 #68F1CF
square
#8A68F1 #F1688A #CFF168 #68F1CF
split-complementary
#8A68F1 #F1CF68 #8AF168
monochromatic
#4113CC #5F30EC #8A68F1 #B5A0F6 #E1D8FB
Accessibility & contrast
On white
3.94
#8A68F1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.33
#8A68F1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A68F1
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A68F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A68F1 | 1.00 | 3.94 | 5.33 | 5.33 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E83F6
Deuteranopia (green-blind)
#1D7DEE
Tritanopia (blue-blind)
#6C86A3
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #8a68f1; /* rgb */ color: rgb(138, 104, 241); /* oklch */ color: oklch(61.9% 0.197 291.0);
Tailwind
colors: {
custom: {
50: '#b294f6',
500: '#8a68f1',
950: '#000000',
},
}SCSS
$custom: #8a68f1; $custom-light: #b294f6; $custom-dark: #000000;
JSON
{
"hex": "#8a68f1",
"rgb": {
"r": 138,
"g": 104,
"b": 241
},
"hsl": {
"h": 254.891,
"s": 83.03,
"l": 67.647
},
"oklch": {
"l": 0.61933,
"c": 0.19705,
"h": 291
},
"luminance": 0.21655
}Semantic roles & 50–950 ramp
primary
#8A68F1
secondary
#E5F0C5
accent
#DF06A9
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85