#8F4BC2#8F4BC2
#8F4BC2 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.0% C 0.183 H 307.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #8F4BC2 |
|---|---|
| RGB | rgb(143, 75, 194) |
| HSL | hsl(274, 49%, 53%) |
| HSV | hsv(274, 61%, 76%) |
| CMYK | cmyk(26.3%, 61.3%, 0%, 23.9%) |
| CIE-LAB | lab(45.31, 49.89, -51.25) |
| CIE-LCH | lch(45.31, 71.53, 314.23°) |
| OKLab | oklab(55% 0.1122 -0.1447) |
| OKLCH | oklch(55% 0.183 307.8) |
| XYZ | xyz(23.5794, 14.7672, 52.6367) |
| Luminance | 0.1477 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.31
Darkorchid
#9932CC
ΔE00 4.51
Deep Lavender
#8D5EB7
ΔE00 5.45
Royal Purple
#7851A9
ΔE00 5.73
Amethyst
#9B5FC0
ΔE00 6.21
Purpley
#8756E4
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F4BC2 #7EC24B
analogous
#534BC2 #8F4BC2 #C24BB9
triadic
#8F4BC2 #C28F4B #4BC28F
tetradic
#8F4BC2 #C2534B #7EC24B #4BB9C2
square
#8F4BC2 #C2534B #7EC24B #4BB9C2
split-complementary
#8F4BC2 #B9C24B #4BC253
monochromatic
#4E256D #6F359B #8F4BC2 #AB79D1 #C8A6E1
Accessibility & contrast
On white
5.31
#8F4BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#8F4BC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F4BC2
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F4BC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F4BC2 | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1069C6
Deuteranopia (green-blind)
#376CBF
Tritanopia (blue-blind)
#87637F
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8f4bc2; /* rgb */ color: rgb(143, 75, 194); /* oklch */ color: oklch(55.0% 0.183 307.8);
Tailwind
colors: {
custom: {
50: '#b381d5',
500: '#8f4bc2',
950: '#000000',
},
}SCSS
$custom: #8f4bc2; $custom-light: #b381d5; $custom-dark: #000000;
JSON
{
"hex": "#8f4bc2",
"rgb": {
"r": 143,
"g": 75,
"b": 194
},
"hsl": {
"h": 274.286,
"s": 49.378,
"l": 52.745
},
"oklch": {
"l": 0.55002,
"c": 0.18308,
"h": 307.8
},
"luminance": 0.14767
}Semantic roles & 50–950 ramp
primary
#8F4BC2
secondary
#B1CE9B
accent
#D94F8A
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83