#9D3FDA#9D3FDA
#9D3FDA is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.9% C 0.227 H 308.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #9D3FDA |
|---|---|
| RGB | rgb(157, 63, 218) |
| HSL | hsl(276, 68%, 55%) |
| HSV | hsv(276, 71%, 85%) |
| CMYK | cmyk(28%, 71.1%, 0%, 14.5%) |
| CIE-LAB | lab(46.69, 63.79, -62.76) |
| CIE-LCH | lch(46.69, 89.48, 315.47°) |
| OKLab | oklab(56.88% 0.1415 -0.1779) |
| OKLCH | oklch(56.88% 0.227 308.5) |
| XYZ | xyz(28.3344, 15.7855, 67.8703) |
| Luminance | 0.1578 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.41
Vibrant Purple
#AD03DE
ΔE00 4.75
Electric Purple
#AA23FF
ΔE00 4.88
Lightish Purple
#A552E6
ΔE00 5.00
Bright Violet
#AD0AFD
ΔE00 5.16
Blueviolet
#8A2BE2
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D3FDA #7CDA3F
analogous
#4F3FDA #9D3FDA #DA3FCA
triadic
#9D3FDA #DA9D3F #3FDA9D
tetradic
#9D3FDA #DA4F3F #7CDA3F #3FCADA
square
#9D3FDA #DA4F3F #7CDA3F #3FCADA
split-complementary
#9D3FDA #CADA3F #3FDA4F
monochromatic
#5B1A85 #7E24B8 #9D3FDA #B772E4 #D1A6EE
Accessibility & contrast
On white
5.05
#9D3FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#9D3FDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D3FDA
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D3FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D3FDA | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#1470D7
Tritanopia (blue-blind)
#946289
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #9d3fda; /* rgb */ color: rgb(157, 63, 218); /* oklch */ color: oklch(56.9% 0.227 308.5);
Tailwind
colors: {
custom: {
50: '#bf7ce6',
500: '#9d3fda',
950: '#000000',
},
}SCSS
$custom: #9d3fda; $custom-light: #bf7ce6; $custom-dark: #000000;
JSON
{
"hex": "#9d3fda",
"rgb": {
"r": 157,
"g": 63,
"b": 218
},
"hsl": {
"h": 276.387,
"s": 67.686,
"l": 55.098
},
"oklch": {
"l": 0.5688,
"c": 0.22732,
"h": 308.5
},
"luminance": 0.15785
}Semantic roles & 50–950 ramp
primary
#9D3FDA
secondary
#B3DB9A
accent
#EB3D81
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84