#8164F3#8164F3
#8164F3 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 60.7% C 0.205 H 288.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #8164F3 |
|---|---|
| RGB | rgb(129, 100, 243) |
| HSL | hsl(252, 86%, 67%) |
| HSV | hsv(252, 59%, 95%) |
| CMYK | cmyk(46.9%, 58.8%, 0%, 4.7%) |
| CIE-LAB | lab(52.12, 45.99, -68.22) |
| CIE-LCH | lch(52.12, 82.28, 303.98°) |
| OKLab | oklab(60.65% 0.0635 -0.195) |
| OKLCH | oklch(60.65% 0.205 288) |
| XYZ | xyz(29.7834, 20.2513, 87.1162) |
| Luminance | 0.2025 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.66
Purpley
#8756E4
ΔE00 4.68
Mediumpurple
#9370DB
ΔE00 6.12
Lighter Purple
#A55AF4
ΔE00 6.57
Dark Periwinkle
#665FD1
ΔE00 6.95
Light Indigo
#6D5ACF
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8164F3 #D6F364
analogous
#648EF3 #8164F3 #C964F3
triadic
#8164F3 #F38164 #64F381
tetradic
#8164F3 #F3648E #D6F364 #64F3C9
square
#8164F3 #F3648E #D6F364 #64F3C9
split-complementary
#8164F3 #F3C964 #8EF364
monochromatic
#3610CD #532BEF #8164F3 #AF9DF7 #DDD6FC
Accessibility & contrast
On white
4.16
#8164F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#8164F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8164F3
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8164F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8164F3 | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0080F8
Deuteranopia (green-blind)
#0079F0
Tritanopia (blue-blind)
#5B85A2
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8164f3; /* rgb */ color: rgb(129, 100, 243); /* oklch */ color: oklch(60.7% 0.205 288.0);
Tailwind
colors: {
custom: {
50: '#ad91f8',
500: '#8164f3',
950: '#000000',
},
}SCSS
$custom: #8164f3; $custom-light: #ad91f8; $custom-dark: #000000;
JSON
{
"hex": "#8164f3",
"rgb": {
"r": 129,
"g": 100,
"b": 243
},
"hsl": {
"h": 252.168,
"s": 85.629,
"l": 67.255
},
"oklch": {
"l": 0.60652,
"c": 0.20506,
"h": 288
},
"luminance": 0.20253
}Semantic roles & 50–950 ramp
primary
#8164F3
secondary
#E7F0C3
accent
#E203B5
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85