#8A68CA#8A68CA
#8A68CA is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.5% C 0.147 H 297.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #8A68CA |
|---|---|
| RGB | rgb(138, 104, 202) |
| HSL | hsl(261, 48%, 60%) |
| HSV | hsv(261, 49%, 79%) |
| CMYK | cmyk(31.7%, 48.5%, 0%, 20.8%) |
| CIE-LAB | lab(51.35, 34.67, -46.26) |
| CIE-LCH | lch(51.35, 57.81, 306.85°) |
| OKLab | oklab(59.47% 0.0686 -0.1303) |
| OKLCH | oklch(59.47% 0.147 297.8) |
| XYZ | xyz(26.0896, 19.5679, 58.2681) |
| Luminance | 0.1957 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.77
Deep Lavender
#8D5EB7
ΔE00 4.78
Deep Lilac
#966EBD
ΔE00 4.79
Amethyst
#9B5FC0
ΔE00 5.27
Purpley
#8756E4
ΔE00 6.41
Mediumslateblue
#7B68EE
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A68CA #A8CA68
analogous
#6877CA #8A68CA #BB68CA
triadic
#8A68CA #CA8A68 #68CA8A
tetradic
#8A68CA #CA6877 #A8CA68 #68CABB
square
#8A68CA #CA6877 #A8CA68 #68CABB
split-complementary
#8A68CA #CABB68 #77CA68
monochromatic
#4E3088 #6840B5 #8A68CA #AD95DA #D0C3EA
Accessibility & contrast
On white
4.27
#8A68CA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#8A68CA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A68CA
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A68CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A68CA | 1.00 | 4.27 | 4.91 | 4.91 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#477BCD
Deuteranopia (green-blind)
#4F79C8
Tritanopia (blue-blind)
#7C7A8F
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8a68ca; /* rgb */ color: rgb(138, 104, 202); /* oklch */ color: oklch(59.5% 0.147 297.8);
Tailwind
colors: {
custom: {
50: '#af94da',
500: '#8a68ca',
950: '#000000',
},
}SCSS
$custom: #8a68ca; $custom-light: #af94da; $custom-dark: #000000;
JSON
{
"hex": "#8a68ca",
"rgb": {
"r": 138,
"g": 104,
"b": 202
},
"hsl": {
"h": 260.816,
"s": 48.039,
"l": 60
},
"oklch": {
"l": 0.59474,
"c": 0.14722,
"h": 297.8
},
"luminance": 0.19568
}Semantic roles & 50–950 ramp
primary
#8A68CA
secondary
#CDDAB4
accent
#D850A9
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83