#8161F3#8161F3
#8161F3 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.2% C 0.209 H 288.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #8161F3 |
|---|---|
| RGB | rgb(129, 97, 243) |
| HSL | hsl(253, 86%, 67%) |
| HSV | hsv(253, 60%, 95%) |
| CMYK | cmyk(46.9%, 60.1%, 0%, 4.7%) |
| CIE-LAB | lab(51.48, 47.67, -69.26) |
| CIE-LCH | lch(51.48, 84.08, 304.54°) |
| OKLab | oklab(60.18% 0.0666 -0.198) |
| OKLCH | oklch(60.18% 0.209 288.6) |
| XYZ | xyz(29.5010, 19.6864, 87.0221) |
| Luminance | 0.1969 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.28
Purpley
#8756E4
ΔE00 3.98
Lighter Purple
#A55AF4
ΔE00 6.36
Mediumpurple
#9370DB
ΔE00 6.54
Light Indigo
#6D5ACF
ΔE00 6.60
Dark Periwinkle
#665FD1
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8161F3 #D3F361
analogous
#618AF3 #8161F3 #CA61F3
triadic
#8161F3 #F38161 #61F381
tetradic
#8161F3 #F3618A #D3F361 #61F3CA
square
#8161F3 #F3618A #D3F361 #61F3CA
split-complementary
#8161F3 #F3CA61 #8AF361
monochromatic
#380FCA #5428EF #8161F3 #AE9AF7 #DCD3FC
Accessibility & contrast
On white
4.25
#8161F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#8161F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8161F3
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8161F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8161F3 | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007EF8
Deuteranopia (green-blind)
#0077F0
Tritanopia (blue-blind)
#5C83A1
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #8161f3; /* rgb */ color: rgb(129, 97, 243); /* oklch */ color: oklch(60.2% 0.209 288.6);
Tailwind
colors: {
custom: {
50: '#ad8ff8',
500: '#8161f3',
950: '#000000',
},
}SCSS
$custom: #8161f3; $custom-light: #ad8ff8; $custom-dark: #000000;
JSON
{
"hex": "#8161f3",
"rgb": {
"r": 129,
"g": 97,
"b": 243
},
"hsl": {
"h": 253.151,
"s": 85.882,
"l": 66.667
},
"oklch": {
"l": 0.60183,
"c": 0.20895,
"h": 288.6
},
"luminance": 0.19688
}Semantic roles & 50–950 ramp
primary
#8161F3
secondary
#E5EFC0
accent
#E203B1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85