#8A68C7#8A68C7
#8A68C7 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.3% C 0.143 H 298.4°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #8A68C7 |
|---|---|
| RGB | rgb(138, 104, 199) |
| HSL | hsl(261, 46%, 59%) |
| HSV | hsv(261, 48%, 78%) |
| CMYK | cmyk(30.7%, 47.7%, 0%, 22%) |
| CIE-LAB | lab(51.18, 33.90, -44.80) |
| CIE-LCH | lch(51.18, 56.18, 307.11°) |
| OKLab | oklab(59.3% 0.0683 -0.126) |
| OKLCH | oklch(59.3% 0.143 298.4) |
| XYZ | xyz(25.7379, 19.4272, 56.4156) |
| Luminance | 0.1943 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.12
Deep Lavender
#8D5EB7
ΔE00 4.39
Deep Lilac
#966EBD
ΔE00 4.41
Amethyst
#9B5FC0
ΔE00 5.03
Purpley
#8756E4
ΔE00 6.78
Mediumslateblue
#7B68EE
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A68C7 #A5C768
analogous
#6876C7 #8A68C7 #BA68C7
triadic
#8A68C7 #C78A68 #68C78A
tetradic
#8A68C7 #C76876 #A5C768 #68C7BA
square
#8A68C7 #C76876 #A5C768 #68C7BA
split-complementary
#8A68C7 #C7BA68 #76C768
monochromatic
#4F3184 #6941B0 #8A68C7 #AD95D8 #CFC1E8
Accessibility & contrast
On white
4.30
#8A68C7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#8A68C7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A68C7
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A68C7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A68C7 | 1.00 | 4.30 | 4.89 | 4.89 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#497ACA
Deuteranopia (green-blind)
#5179C5
Tritanopia (blue-blind)
#7D7A8E
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8a68c7; /* rgb */ color: rgb(138, 104, 199); /* oklch */ color: oklch(59.3% 0.143 298.4);
Tailwind
colors: {
custom: {
50: '#af94d8',
500: '#8a68c7',
950: '#000000',
},
}SCSS
$custom: #8a68c7; $custom-light: #af94d8; $custom-dark: #000000;
JSON
{
"hex": "#8a68c7",
"rgb": {
"r": 138,
"g": 104,
"b": 199
},
"hsl": {
"h": 261.474,
"s": 45.894,
"l": 59.412
},
"oklch": {
"l": 0.59301,
"c": 0.1433,
"h": 298.4
},
"luminance": 0.19427
}Semantic roles & 50–950 ramp
primary
#8A68C7
secondary
#CBD8B3
accent
#D652A7
background
#FBF9FD
surface
#F6F1FA
border
#D0CBD3
text
#110D14
muted
#807E83