#8367F2#8367F2
#8367F2 is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.2% C 0.200 H 288.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #8367F2 |
|---|---|
| RGB | rgb(131, 103, 242) |
| HSL | hsl(252, 84%, 68%) |
| HSV | hsv(252, 57%, 95%) |
| CMYK | cmyk(45.9%, 57.4%, 0%, 5.1%) |
| CIE-LAB | lab(52.88, 44.42, -66.43) |
| CIE-LCH | lch(52.88, 79.91, 303.77°) |
| OKLab | oklab(61.23% 0.0628 -0.1897) |
| OKLCH | oklch(61.23% 0.2 288.3) |
| XYZ | xyz(30.2327, 20.9354, 86.4352) |
| Luminance | 0.2094 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.53
Purpley
#8756E4
ΔE00 5.30
Mediumpurple
#9370DB
ΔE00 5.46
Lighter Purple
#A55AF4
ΔE00 6.57
Dark Periwinkle
#665FD1
ΔE00 7.37
Light Indigo
#6D5ACF
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8367F2 #D6F267
analogous
#6791F2 #8367F2 #C867F2
triadic
#8367F2 #F28367 #67F283
tetradic
#8367F2 #F26791 #D6F267 #67F2C8
square
#8367F2 #F26791 #D6F267 #67F2C8
split-complementary
#8367F2 #F2C867 #91F267
monochromatic
#3712CD #552FED #8367F2 #B19FF7 #DFD8FC
Accessibility & contrast
On white
4.05
#8367F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#8367F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8367F2
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8367F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8367F2 | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#007BEF
Tritanopia (blue-blind)
#6086A3
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8367f2; /* rgb */ color: rgb(131, 103, 242); /* oklch */ color: oklch(61.2% 0.200 288.3);
Tailwind
colors: {
custom: {
50: '#ae93f7',
500: '#8367f2',
950: '#000000',
},
}SCSS
$custom: #8367f2; $custom-light: #ae93f7; $custom-dark: #000000;
JSON
{
"hex": "#8367f2",
"rgb": {
"r": 131,
"g": 103,
"b": 242
},
"hsl": {
"h": 252.086,
"s": 84.242,
"l": 67.647
},
"oklch": {
"l": 0.6123,
"c": 0.19977,
"h": 288.3
},
"luminance": 0.20937
}Semantic roles & 50–950 ramp
primary
#8367F2
secondary
#E7F0C5
accent
#E105B4
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85