#9A3FDA#9A3FDA
#9A3FDA is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.5% C 0.227 H 307.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #9A3FDA |
|---|---|
| RGB | rgb(154, 63, 218) |
| HSL | hsl(275, 68%, 55%) |
| HSV | hsv(275, 71%, 85%) |
| CMYK | cmyk(29.4%, 71.1%, 0%, 14.5%) |
| CIE-LAB | lab(46.29, 63.21, -63.42) |
| CIE-LCH | lch(46.29, 89.54, 314.91°) |
| OKLab | oklab(56.51% 0.1376 -0.18) |
| OKLCH | oklch(56.51% 0.227 307.4) |
| XYZ | xyz(27.7561, 15.4874, 67.8432) |
| Luminance | 0.1549 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.26
Blueviolet
#8A2BE2
ΔE00 4.82
Vibrant Purple
#AD03DE
ΔE00 4.87
Electric Purple
#AA23FF
ΔE00 4.99
Violet (survey)
#9A0EEA
ΔE00 5.09
Bright Violet
#AD0AFD
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A3FDA #7FDA3F
analogous
#4C3FDA #9A3FDA #DA3FCC
triadic
#9A3FDA #DA9A3F #3FDA9A
tetradic
#9A3FDA #DA4C3F #7FDA3F #3FCCDA
square
#9A3FDA #DA4C3F #7FDA3F #3FCCDA
split-complementary
#9A3FDA #CCDA3F #3FDA4C
monochromatic
#591A85 #7B24B8 #9A3FDA #B572E4 #D0A6EE
Accessibility & contrast
On white
5.13
#9A3FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#9A3FDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A3FDA
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A3FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A3FDA | 1.00 | 5.13 | 4.10 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#056ED7
Tritanopia (blue-blind)
#8F6389
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9a3fda; /* rgb */ color: rgb(154, 63, 218); /* oklch */ color: oklch(56.5% 0.227 307.4);
Tailwind
colors: {
custom: {
50: '#bd7ce6',
500: '#9a3fda',
950: '#000000',
},
}SCSS
$custom: #9a3fda; $custom-light: #bd7ce6; $custom-dark: #000000;
JSON
{
"hex": "#9a3fda",
"rgb": {
"r": 154,
"g": 63,
"b": 218
},
"hsl": {
"h": 275.226,
"s": 67.686,
"l": 55.098
},
"oklch": {
"l": 0.56514,
"c": 0.22652,
"h": 307.4
},
"luminance": 0.15487
}Semantic roles & 50–950 ramp
primary
#9A3FDA
secondary
#B5DB9A
accent
#EB3D85
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84