#9D3FD2#9D3FD2
#9D3FD2 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.3% C 0.220 H 310.5°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #9D3FD2 |
|---|---|
| RGB | rgb(157, 63, 210) |
| HSL | hsl(278, 62%, 54%) |
| HSV | hsv(278, 70%, 82%) |
| CMYK | cmyk(25.2%, 70%, 0%, 17.6%) |
| CIE-LAB | lab(46.15, 62.08, -59.06) |
| CIE-LCH | lch(46.15, 85.68, 316.43°) |
| OKLab | oklab(56.32% 0.1426 -0.1671) |
| OKLCH | oklch(56.32% 0.22 310.5) |
| XYZ | xyz(27.3127, 15.3769, 62.4895) |
| Luminance | 0.1538 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.74
Vibrant Purple
#AD03DE
ΔE00 4.69
Purply
#983FB2
ΔE00 5.06
Blueviolet
#8A2BE2
ΔE00 5.62
Lightish Purple
#A552E6
ΔE00 5.65
Violet (survey)
#9A0EEA
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D3FD2 #74D23F
analogous
#533FD2 #9D3FD2 #D23FBD
triadic
#9D3FD2 #D29D3F #3FD29D
tetradic
#9D3FD2 #D2533F #74D23F #3FBDD2
square
#9D3FD2 #D2533F #74D23F #3FBDD2
split-complementary
#9D3FD2 #BDD23F #3FD253
monochromatic
#581D7A #7C28AC #9D3FD2 #B671DE #D0A2E9
Accessibility & contrast
On white
5.15
#9D3FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#9D3FD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D3FD2
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D3FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D3FD2 | 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)
#0069D6
Deuteranopia (green-blind)
#266FCF
Tritanopia (blue-blind)
#965F84
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #9d3fd2; /* rgb */ color: rgb(157, 63, 210); /* oklch */ color: oklch(56.3% 0.220 310.5);
Tailwind
colors: {
custom: {
50: '#be7ce1',
500: '#9d3fd2',
950: '#000000',
},
}SCSS
$custom: #9d3fd2; $custom-light: #be7ce1; $custom-dark: #000000;
JSON
{
"hex": "#9d3fd2",
"rgb": {
"r": 157,
"g": 63,
"b": 210
},
"hsl": {
"h": 278.367,
"s": 62.025,
"l": 53.529
},
"oklch": {
"l": 0.56319,
"c": 0.21961,
"h": 310.5
},
"luminance": 0.15376
}Semantic roles & 50–950 ramp
primary
#9D3FD2
secondary
#AED697
accent
#E5437D
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83