#8159AF#8159AF
#8159AF is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.4% C 0.135 H 303.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #8159AF |
|---|---|
| RGB | rgb(129, 89, 175) |
| HSL | hsl(268, 35%, 52%) |
| HSV | hsv(268, 49%, 69%) |
| CMYK | cmyk(26.3%, 49.1%, 0%, 31.4%) |
| CIE-LAB | lab(45.51, 34.06, -39.95) |
| CIE-LCH | lch(45.51, 52.50, 310.45°) |
| OKLab | oklab(54.43% 0.0748 -0.112) |
| OKLCH | oklch(54.43% 0.135 303.7) |
| XYZ | xyz(20.3618, 14.9071, 42.3538) |
| Luminance | 0.1491 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.98
Deep Lavender
#8D5EB7
ΔE00 3.03
Amethyst
#9B5FC0
ΔE00 6.01
Purply
#983FB2
ΔE00 7.57
Light Indigo
#6D5ACF
ΔE00 7.65
Slate Blue
#6A5ACD
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8159AF #87AF59
analogous
#595CAF #8159AF #AC59AF
triadic
#8159AF #AF8159 #59AF81
tetradic
#8159AF #AF595C #87AF59 #59AFAC
square
#8159AF #AF595C #87AF59 #59AFAC
split-complementary
#8159AF #AFAC59 #5CAF59
monochromatic
#452E60 #634289 #8159AF #A082C3 #C0ACD7
Accessibility & contrast
On white
5.27
#8159AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#8159AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8159AF
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8159AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8159AF | 1.00 | 5.27 | 3.98 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#406BB2
Deuteranopia (green-blind)
#4A6CAD
Tritanopia (blue-blind)
#79687C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8159af; /* rgb */ color: rgb(129, 89, 175); /* oklch */ color: oklch(54.4% 0.135 303.7);
Tailwind
colors: {
custom: {
50: '#a889c7',
500: '#8159af',
950: '#000000',
},
}SCSS
$custom: #8159af; $custom-light: #a889c7; $custom-dark: #000000;
JSON
{
"hex": "#8159af",
"rgb": {
"r": 129,
"g": 89,
"b": 175
},
"hsl": {
"h": 267.907,
"s": 34.959,
"l": 51.765
},
"oklch": {
"l": 0.54426,
"c": 0.13473,
"h": 303.7
},
"luminance": 0.14907
}Semantic roles & 50–950 ramp
primary
#8159AF
secondary
#B3C59F
accent
#CB5D98
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100B13
muted
#7F7C82