#9A3ECF#9A3ECF
#9A3ECF is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.6% C 0.217 H 310.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #9A3ECF |
|---|---|
| RGB | rgb(154, 62, 207) |
| HSL | hsl(278, 60%, 53%) |
| HSV | hsv(278, 70%, 81%) |
| CMYK | cmyk(25.6%, 70%, 0%, 18.8%) |
| CIE-LAB | lab(45.39, 61.25, -58.58) |
| CIE-LCH | lch(45.39, 84.75, 316.28°) |
| OKLab | oklab(55.63% 0.1401 -0.1657) |
| OKLCH | oklch(55.63% 0.217 310.2) |
| XYZ | xyz(26.3093, 14.8208, 60.4941) |
| Luminance | 0.1482 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.15
Purply
#983FB2
ΔE00 4.65
Vibrant Purple
#AD03DE
ΔE00 4.71
Blueviolet
#8A2BE2
ΔE00 5.24
Violet (survey)
#9A0EEA
ΔE00 5.51
Barney
#AC1DB8
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A3ECF #73CF3E
analogous
#513ECF #9A3ECF #CF3EBB
triadic
#9A3ECF #CF9A3E #3ECF9A
tetradic
#9A3ECF #CF513E #73CF3E #3EBBCF
square
#9A3ECF #CF513E #73CF3E #3EBBCF
split-complementary
#9A3ECF #BBCF3E #3ECF51
monochromatic
#551D75 #7929A6 #9A3ECF #B46FDB #CDA0E7
Accessibility & contrast
On white
5.30
#9A3ECF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#9A3ECF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A3ECF
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A3ECF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A3ECF | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#246DCC
Tritanopia (blue-blind)
#935E82
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #9a3ecf; /* rgb */ color: rgb(154, 62, 207); /* oklch */ color: oklch(55.6% 0.217 310.2);
Tailwind
colors: {
custom: {
50: '#bc7bde',
500: '#9a3ecf',
950: '#000000',
},
}SCSS
$custom: #9a3ecf; $custom-light: #bc7bde; $custom-dark: #000000;
JSON
{
"hex": "#9a3ecf",
"rgb": {
"r": 154,
"g": 62,
"b": 207
},
"hsl": {
"h": 278.069,
"s": 60.166,
"l": 52.745
},
"oklch": {
"l": 0.55629,
"c": 0.217,
"h": 310.2
},
"luminance": 0.1482
}Semantic roles & 50–950 ramp
primary
#9A3ECF
secondary
#ACD495
accent
#E3447F
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83