#8F46DC#8F46DC
#8F46DC is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.2% C 0.218 H 302.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8F46DC |
|---|---|
| RGB | rgb(143, 70, 220) |
| HSL | hsl(269, 68%, 57%) |
| HSV | hsv(269, 68%, 86%) |
| CMYK | cmyk(35%, 68.2%, 0%, 13.7%) |
| CIE-LAB | lab(46.16, 58.44, -64.84) |
| CIE-LCH | lch(46.16, 87.29, 312.02°) |
| OKLab | oklab(56.16% 0.1156 -0.1846) |
| OKLCH | oklch(56.16% 0.218 302.1) |
| XYZ | xyz(26.4330, 15.3872, 69.2737) |
| Luminance | 0.1539 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.12
Darkorchid
#9932CC
ΔE00 4.66
Blueviolet
#8A2BE2
ΔE00 4.70
Lightish Purple
#A552E6
ΔE00 5.59
Electric Purple
#AA23FF
ΔE00 5.87
Violet (survey)
#9A0EEA
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F46DC #93DC46
analogous
#4648DC #8F46DC #DA46DC
triadic
#8F46DC #DC8F46 #46DC8F
tetradic
#8F46DC #DC4648 #93DC46 #46DCDA
square
#8F46DC #DC4648 #93DC46 #46DCDA
split-complementary
#8F46DC #DCDA46 #48DC46
monochromatic
#521B8D #7024C0 #8F46DC #AE79E6 #CDADEF
Accessibility & contrast
On white
5.15
#8F46DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#8F46DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F46DC
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F46DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F46DC | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#006DD9
Tritanopia (blue-blind)
#7F698C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8f46dc; /* rgb */ color: rgb(143, 70, 220); /* oklch */ color: oklch(56.2% 0.218 302.1);
Tailwind
colors: {
custom: {
50: '#b57fe8',
500: '#8f46dc',
950: '#000000',
},
}SCSS
$custom: #8f46dc; $custom-light: #b57fe8; $custom-dark: #000000;
JSON
{
"hex": "#8f46dc",
"rgb": {
"r": 143,
"g": 70,
"b": 220
},
"hsl": {
"h": 269.2,
"s": 68.182,
"l": 56.863
},
"oklch": {
"l": 0.56163,
"c": 0.21779,
"h": 302.1
},
"luminance": 0.15387
}Semantic roles & 50–950 ramp
primary
#8F46DC
secondary
#C0DDA0
accent
#EB3D96
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84