#8F3FDB#8F3FDB
#8F3FDB is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.3% C 0.225 H 303.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #8F3FDB |
|---|---|
| RGB | rgb(143, 63, 219) |
| HSL | hsl(271, 68%, 55%) |
| HSV | hsv(271, 71%, 86%) |
| CMYK | cmyk(34.7%, 71.2%, 0%, 14.1%) |
| CIE-LAB | lab(44.95, 61.38, -66.23) |
| CIE-LCH | lch(44.95, 90.30, 312.82°) |
| OKLab | oklab(55.28% 0.1227 -0.1886) |
| OKLCH | oklch(55.28% 0.225 303) |
| XYZ | xyz(25.8884, 14.5091, 68.4408) |
| Luminance | 0.1451 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.41
Darkorchid
#9932CC
ΔE00 3.63
Violet (survey)
#9A0EEA
ΔE00 4.67
Vivid Purple
#9900FA
ΔE00 5.38
Purpley
#8756E4
ΔE00 5.42
Bluish Purple
#703BE7
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F3FDB #8BDB3F
analogous
#413FDB #8F3FDB #DB3FD9
triadic
#8F3FDB #DB8F3F #3FDB8F
tetradic
#8F3FDB #DB413F #8BDB3F #3FD9DB
square
#8F3FDB #DB413F #8BDB3F #3FD9DB
split-complementary
#8F3FDB #D9DB3F #3FDB41
monochromatic
#511986 #7023BA #8F3FDB #AD73E5 #CBA6EE
Accessibility & contrast
On white
5.38
#8F3FDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#8F3FDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F3FDB
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F3FDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F3FDB | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069E0
Deuteranopia (green-blind)
#006AD8
Tritanopia (blue-blind)
#806589
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8f3fdb; /* rgb */ color: rgb(143, 63, 219); /* oklch */ color: oklch(55.3% 0.225 303.0);
Tailwind
colors: {
custom: {
50: '#b67be7',
500: '#8f3fdb',
950: '#000000',
},
}SCSS
$custom: #8f3fdb; $custom-light: #b67be7; $custom-dark: #000000;
JSON
{
"hex": "#8f3fdb",
"rgb": {
"r": 143,
"g": 63,
"b": 219
},
"hsl": {
"h": 270.769,
"s": 68.421,
"l": 55.294
},
"oklch": {
"l": 0.55282,
"c": 0.22501,
"h": 303
},
"luminance": 0.14509
}Semantic roles & 50–950 ramp
primary
#8F3FDB
secondary
#BADC9A
accent
#EB3D92
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84