#9D3FD6#9D3FD6
#9D3FD6 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.6% C 0.223 H 309.5°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #9D3FD6 |
|---|---|
| RGB | rgb(157, 63, 214) |
| HSL | hsl(277, 65%, 54%) |
| HSV | hsv(277, 71%, 84%) |
| CMYK | cmyk(26.6%, 70.6%, 0%, 16.1%) |
| CIE-LAB | lab(46.42, 62.93, -60.91) |
| CIE-LCH | lch(46.42, 87.58, 315.93°) |
| OKLab | oklab(56.6% 0.142 -0.1725) |
| OKLCH | oklch(56.6% 0.223 309.5) |
| XYZ | xyz(27.8173, 15.5787, 65.1469) |
| Luminance | 0.1558 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.03
Vibrant Purple
#AD03DE
ΔE00 4.68
Lightish Purple
#A552E6
ΔE00 5.30
Electric Purple
#AA23FF
ΔE00 5.36
Blueviolet
#8A2BE2
ΔE00 5.41
Violet (survey)
#9A0EEA
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D3FD6 #78D63F
analogous
#523FD6 #9D3FD6 #D63FC4
triadic
#9D3FD6 #D69D3F #3FD69D
tetradic
#9D3FD6 #D6523F #78D63F #3FC4D6
square
#9D3FD6 #D6523F #78D63F #3FC4D6
split-complementary
#9D3FD6 #C4D63F #3FD652
monochromatic
#5A1B7F #7D26B2 #9D3FD6 #B771E1 #D0A4EC
Accessibility & contrast
On white
5.10
#9D3FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#9D3FD6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D3FD6
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D3FD6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D3FD6 | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ADA
Deuteranopia (green-blind)
#1E6FD3
Tritanopia (blue-blind)
#956186
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9d3fd6; /* rgb */ color: rgb(157, 63, 214); /* oklch */ color: oklch(56.6% 0.223 309.5);
Tailwind
colors: {
custom: {
50: '#bf7ce3',
500: '#9d3fd6',
950: '#000000',
},
}SCSS
$custom: #9d3fd6; $custom-light: #bf7ce3; $custom-dark: #000000;
JSON
{
"hex": "#9d3fd6",
"rgb": {
"r": 157,
"g": 63,
"b": 214
},
"hsl": {
"h": 277.351,
"s": 64.807,
"l": 54.314
},
"oklch": {
"l": 0.56597,
"c": 0.22346,
"h": 309.5
},
"luminance": 0.15578
}Semantic roles & 50–950 ramp
primary
#9D3FD6
secondary
#B1D898
accent
#E8407F
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84