#8167F2#8167F2
#8167F2 is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.1% C 0.200 H 287.6°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8167F2 |
|---|---|
| RGB | rgb(129, 103, 242) |
| HSL | hsl(251, 84%, 68%) |
| HSV | hsv(251, 57%, 95%) |
| CMYK | cmyk(46.7%, 57.4%, 0%, 5.1%) |
| CIE-LAB | lab(52.70, 44.01, -66.72) |
| CIE-LCH | lch(52.70, 79.93, 303.41°) |
| OKLab | oklab(61.06% 0.0603 -0.1906) |
| OKLCH | oklch(61.06% 0.2 287.6) |
| XYZ | xyz(29.9259, 20.7772, 86.4208) |
| Luminance | 0.2078 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.21
Purpley
#8756E4
ΔE00 5.38
Mediumpurple
#9370DB
ΔE00 5.69
Lighter Purple
#A55AF4
ΔE00 6.89
Dark Periwinkle
#665FD1
ΔE00 7.13
Cornflower
#6A79F7
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8167F2 #D8F267
analogous
#6792F2 #8167F2 #C667F2
triadic
#8167F2 #F28167 #67F281
tetradic
#8167F2 #F26792 #D8F267 #67F2C6
square
#8167F2 #F26792 #D8F267 #67F2C6
split-complementary
#8167F2 #F2C667 #92F267
monochromatic
#3512CD #522FED #8167F2 #B09FF7 #DED8FC
Accessibility & contrast
On white
4.07
#8167F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#8167F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8167F2
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8167F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8167F2 | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#007AEF
Tritanopia (blue-blind)
#5C86A3
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8167f2; /* rgb */ color: rgb(129, 103, 242); /* oklch */ color: oklch(61.1% 0.200 287.6);
Tailwind
colors: {
custom: {
50: '#ad93f7',
500: '#8167f2',
950: '#000000',
},
}SCSS
$custom: #8167f2; $custom-light: #ad93f7; $custom-dark: #000000;
JSON
{
"hex": "#8167f2",
"rgb": {
"r": 129,
"g": 103,
"b": 242
},
"hsl": {
"h": 251.223,
"s": 84.242,
"l": 67.647
},
"oklch": {
"l": 0.6106,
"c": 0.19987,
"h": 287.6
},
"luminance": 0.20778
}Semantic roles & 50–950 ramp
primary
#8167F2
secondary
#E8F0C5
accent
#E105B8
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85