#8A68BF#8A68BF
#8A68BF is a mid, vivid violet. Relative luminance 0.191; OKLCH L 58.9% C 0.133 H 300.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #8A68BF |
|---|---|
| RGB | rgb(138, 104, 191) |
| HSL | hsl(263, 40%, 58%) |
| HSV | hsv(263, 46%, 75%) |
| CMYK | cmyk(27.7%, 45.5%, 0%, 25.1%) |
| CIE-LAB | lab(50.76, 31.87, -40.87) |
| CIE-LCH | lch(50.76, 51.83, 307.95°) |
| OKLab | oklab(58.85% 0.0672 -0.1145) |
| OKLCH | oklch(58.85% 0.133 300.4) |
| XYZ | xyz(24.8334, 19.0654, 51.6518) |
| Luminance | 0.1906 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 3.55
Deep Lavender
#8D5EB7
ΔE00 3.55
Amethyst
#9B5FC0
ΔE00 4.61
Mediumpurple
#9370DB
ΔE00 5.26
Purpley
#8756E4
ΔE00 7.91
Soft Purple
#A66FB5
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A68BF #9DBF68
analogous
#6872BF #8A68BF #B568BF
triadic
#8A68BF #BF8A68 #68BF8A
tetradic
#8A68BF #BF6872 #9DBF68 #68BFB5
square
#8A68BF #BF6872 #9DBF68 #68BFB5
split-complementary
#8A68BF #BFB568 #72BF68
monochromatic
#4F3379 #6B46A4 #8A68BF #AB93D1 #CDBEE3
Accessibility & contrast
On white
4.36
#8A68BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#8A68BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A68BF
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A68BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A68BF | 1.00 | 4.36 | 4.81 | 4.81 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F79C2
Deuteranopia (green-blind)
#5678BD
Tritanopia (blue-blind)
#80778A
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #8a68bf; /* rgb */ color: rgb(138, 104, 191); /* oklch */ color: oklch(58.9% 0.133 300.4);
Tailwind
colors: {
custom: {
50: '#ae94d3',
500: '#8a68bf',
950: '#000000',
},
}SCSS
$custom: #8a68bf; $custom-light: #ae94d3; $custom-dark: #000000;
JSON
{
"hex": "#8a68bf",
"rgb": {
"r": 138,
"g": 104,
"b": 191
},
"hsl": {
"h": 263.448,
"s": 40.465,
"l": 57.843
},
"oklch": {
"l": 0.5885,
"c": 0.13279,
"h": 300.4
},
"luminance": 0.19065
}Semantic roles & 50–950 ramp
primary
#8A68BF
secondary
#C5D3B0
accent
#D057A1
background
#FAF9FC
surface
#F5F1F9
border
#CFCBD2
text
#100D14
muted
#7F7E82