#8169F2#8169F2
#8169F2 is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.4% C 0.197 H 287.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #8169F2 |
|---|---|
| RGB | rgb(129, 105, 242) |
| HSL | hsl(251, 84%, 68%) |
| HSV | hsv(251, 57%, 95%) |
| CMYK | cmyk(46.7%, 56.6%, 0%, 5.1%) |
| CIE-LAB | lab(53.15, 42.87, -66.01) |
| CIE-LCH | lch(53.15, 78.71, 303.00°) |
| OKLab | oklab(61.39% 0.0581 -0.1885) |
| OKLCH | oklch(61.39% 0.197 287.1) |
| XYZ | xyz(30.1272, 21.1798, 86.4879) |
| Luminance | 0.2118 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.21
Mediumpurple
#9370DB
ΔE00 5.52
Purpley
#8756E4
ΔE00 5.91
Cornflower
#6A79F7
ΔE00 6.87
Lighter Purple
#A55AF4
ΔE00 7.16
Dark Periwinkle
#665FD1
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8169F2 #DAF269
analogous
#6995F2 #8169F2 #C569F2
triadic
#8169F2 #F28169 #69F281
tetradic
#8169F2 #F26995 #DAF269 #69F2C5
square
#8169F2 #F26995 #DAF269 #69F2C5
split-complementary
#8169F2 #F2C569 #95F269
monochromatic
#3312CF #5231ED #8169F2 #B0A1F7 #E0DAFC
Accessibility & contrast
On white
4.01
#8169F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#8169F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8169F2
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8169F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8169F2 | 1.00 | 4.01 | 5.24 | 5.24 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0182F7
Deuteranopia (green-blind)
#007BEF
Tritanopia (blue-blind)
#5C88A3
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8169f2; /* rgb */ color: rgb(129, 105, 242); /* oklch */ color: oklch(61.4% 0.197 287.1);
Tailwind
colors: {
custom: {
50: '#ad94f7',
500: '#8169f2',
950: '#000000',
},
}SCSS
$custom: #8169f2; $custom-light: #ad94f7; $custom-dark: #000000;
JSON
{
"hex": "#8169f2",
"rgb": {
"r": 129,
"g": 105,
"b": 242
},
"hsl": {
"h": 250.511,
"s": 84.049,
"l": 68.039
},
"oklch": {
"l": 0.61385,
"c": 0.19722,
"h": 287.1
},
"luminance": 0.21181
}Semantic roles & 50–950 ramp
primary
#8169F2
secondary
#E9F0C6
accent
#E105BA
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85