#8F46DE#8F46DE
#8F46DE is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.3% C 0.220 H 301.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #8F46DE |
|---|---|
| RGB | rgb(143, 70, 222) |
| HSL | hsl(269, 70%, 57%) |
| HSV | hsv(269, 68%, 87%) |
| CMYK | cmyk(35.6%, 68.5%, 0%, 12.9%) |
| CIE-LAB | lab(46.30, 58.91, -65.75) |
| CIE-LCH | lch(46.30, 88.28, 311.86°) |
| OKLab | oklab(56.31% 0.1154 -0.1872) |
| OKLCH | oklch(56.31% 0.22 301.6) |
| XYZ | xyz(26.6995, 15.4938, 70.6770) |
| Luminance | 0.1549 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.98
Blueviolet
#8A2BE2
ΔE00 4.71
Darkorchid
#9932CC
ΔE00 4.85
Lightish Purple
#A552E6
ΔE00 5.51
Electric Purple
#AA23FF
ΔE00 5.72
Violet (survey)
#9A0EEA
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F46DE #95DE46
analogous
#4649DE #8F46DE #DB46DE
triadic
#8F46DE #DE8F46 #46DE8F
tetradic
#8F46DE #DE4649 #95DE46 #46DEDB
square
#8F46DE #DE4649 #95DE46 #46DEDB
split-complementary
#8F46DE #DEDB46 #49DE46
monochromatic
#521A90 #7023C4 #8F46DE #AE7AE7 #CEAEF1
Accessibility & contrast
On white
5.12
#8F46DE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#8F46DE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F46DE
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F46DE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F46DE | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE3
Deuteranopia (green-blind)
#006DDB
Tritanopia (blue-blind)
#7E6A8D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8f46de; /* rgb */ color: rgb(143, 70, 222); /* oklch */ color: oklch(56.3% 0.220 301.6);
Tailwind
colors: {
custom: {
50: '#b67fe9',
500: '#8f46de',
950: '#000000',
},
}SCSS
$custom: #8f46de; $custom-light: #b67fe9; $custom-dark: #000000;
JSON
{
"hex": "#8f46de",
"rgb": {
"r": 143,
"g": 70,
"b": 222
},
"hsl": {
"h": 268.816,
"s": 69.725,
"l": 57.255
},
"oklch": {
"l": 0.56311,
"c": 0.21991,
"h": 301.6
},
"luminance": 0.15494
}Semantic roles & 50–950 ramp
primary
#8F46DE
secondary
#C1DFA1
accent
#ED3B97
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84