#8F46CB#8F46CB
#8F46CB is a mid, vivid violet. Relative luminance 0.145; OKLCH L 55.0% C 0.200 H 306.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #8F46CB |
|---|---|
| RGB | rgb(143, 70, 203) |
| HSL | hsl(273, 56%, 54%) |
| HSV | hsv(273, 66%, 80%) |
| CMYK | cmyk(29.6%, 65.5%, 0%, 20.4%) |
| CIE-LAB | lab(44.99, 54.45, -56.99) |
| CIE-LCH | lch(44.99, 78.82, 313.69°) |
| OKLab | oklab(54.95% 0.1176 -0.1615) |
| OKLCH | oklch(54.95% 0.2 306.1) |
| XYZ | xyz(24.2950, 14.5320, 58.0134) |
| Luminance | 0.1453 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.48
Purply
#983FB2
ΔE00 5.09
Blueviolet
#8A2BE2
ΔE00 5.37
Purpley
#8756E4
ΔE00 5.84
Violet (survey)
#9A0EEA
ΔE00 6.55
Vibrant Purple
#AD03DE
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F46CB #82CB46
analogous
#4C46CB #8F46CB #CB46C5
triadic
#8F46CB #CB8F46 #46CB8F
tetradic
#8F46CB #CB4C46 #82CB46 #46C5CB
square
#8F46CB #CB4C46 #82CB46 #46C5CB
split-complementary
#8F46CB #C5CB46 #46CB4C
monochromatic
#4F2176 #702EA5 #8F46CB #AC76D8 #C9A6E6
Accessibility & contrast
On white
5.38
#8F46CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#8F46CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F46CB
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F46CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F46CB | 1.00 | 5.38 | 3.91 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#246BC8
Tritanopia (blue-blind)
#856383
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8f46cb; /* rgb */ color: rgb(143, 70, 203); /* oklch */ color: oklch(55.0% 0.200 306.1);
Tailwind
colors: {
custom: {
50: '#b47edc',
500: '#8f46cb',
950: '#000000',
},
}SCSS
$custom: #8f46cb; $custom-light: #b47edc; $custom-dark: #000000;
JSON
{
"hex": "#8f46cb",
"rgb": {
"r": 143,
"g": 70,
"b": 203
},
"hsl": {
"h": 272.932,
"s": 56.118,
"l": 53.529
},
"oklch": {
"l": 0.54951,
"c": 0.19975,
"h": 306.1
},
"luminance": 0.14532
}Semantic roles & 50–950 ramp
primary
#8F46CB
secondary
#B4D39A
accent
#DF488D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83