#8F3FD2#8F3FD2
#8F3FD2 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.6% C 0.216 H 305.1°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #8F3FD2 |
|---|---|
| RGB | rgb(143, 63, 210) |
| HSL | hsl(273, 62%, 54%) |
| HSV | hsv(273, 70%, 82%) |
| CMYK | cmyk(31.9%, 70%, 0%, 17.6%) |
| CIE-LAB | lab(44.30, 59.30, -62.13) |
| CIE-LCH | lch(44.30, 85.89, 313.67°) |
| OKLab | oklab(54.61% 0.1242 -0.1766) |
| OKLCH | oklch(54.61% 0.216 305.1) |
| XYZ | xyz(24.7355, 14.0480, 62.3687) |
| Luminance | 0.1405 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.76
Blueviolet
#8A2BE2
ΔE00 3.76
Violet (survey)
#9A0EEA
ΔE00 5.01
Vibrant Purple
#AD03DE
ΔE00 5.70
Purply
#983FB2
ΔE00 5.84
Darkviolet
#9400D3
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F3FD2 #82D23F
analogous
#453FD2 #8F3FD2 #D23FCB
triadic
#8F3FD2 #D28F3F #3FD28F
tetradic
#8F3FD2 #D2453F #82D23F #3FCBD2
square
#8F3FD2 #D2453F #82D23F #3FCBD2
split-complementary
#8F3FD2 #CBD23F #3FD245
monochromatic
#4F1D7A #7028AC #8F3FD2 #AC71DE #C9A2E9
Accessibility & contrast
On white
5.51
#8F3FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#8F3FD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F3FD2
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F3FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F3FD2 | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#0069CF
Tritanopia (blue-blind)
#836184
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8f3fd2; /* rgb */ color: rgb(143, 63, 210); /* oklch */ color: oklch(54.6% 0.216 305.1);
Tailwind
colors: {
custom: {
50: '#b57ae1',
500: '#8f3fd2',
950: '#000000',
},
}SCSS
$custom: #8f3fd2; $custom-light: #b57ae1; $custom-dark: #000000;
JSON
{
"hex": "#8f3fd2",
"rgb": {
"r": 143,
"g": 63,
"b": 210
},
"hsl": {
"h": 272.653,
"s": 62.025,
"l": 53.529
},
"oklch": {
"l": 0.54613,
"c": 0.21586,
"h": 305.1
},
"luminance": 0.14048
}Semantic roles & 50–950 ramp
primary
#8F3FD2
secondary
#B4D697
accent
#E5438D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83