#9945E2#9945E2
#9945E2 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.6% C 0.227 H 304.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #9945E2 |
|---|---|
| RGB | rgb(153, 69, 226) |
| HSL | hsl(272, 73%, 58%) |
| HSV | hsv(272, 69%, 89%) |
| CMYK | cmyk(32.3%, 69.5%, 0%, 11.4%) |
| CIE-LAB | lab(47.65, 62.22, -65.78) |
| CIE-LCH | lch(47.65, 90.54, 313.40°) |
| OKLab | oklab(57.63% 0.1291 -0.187) |
| OKLCH | oklch(57.63% 0.227 304.6) |
| XYZ | xyz(28.9894, 16.5197, 73.5982) |
| Luminance | 0.1652 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.05
Purpley
#8756E4
ΔE00 4.51
Electric Purple
#AA23FF
ΔE00 4.62
Darkorchid
#9932CC
ΔE00 5.00
Bright Violet
#AD0AFD
ΔE00 5.32
Blueviolet
#8A2BE2
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9945E2 #8EE245
analogous
#4A45E2 #9945E2 #E245DC
triadic
#9945E2 #E29945 #45E299
tetradic
#9945E2 #E24A45 #8EE245 #45DCE2
square
#9945E2 #E24A45 #8EE245 #45DCE2
split-complementary
#9945E2 #DCE245 #45E24A
monochromatic
#5B1795 #7B20CA #9945E2 #B67AEA #D3AFF3
Accessibility & contrast
On white
4.88
#9945E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#9945E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9945E2
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9945E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9945E2 | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#0071DF
Tritanopia (blue-blind)
#8B698F
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9945e2; /* rgb */ color: rgb(153, 69, 226); /* oklch */ color: oklch(57.6% 0.227 304.6);
Tailwind
colors: {
custom: {
50: '#bc7fec',
500: '#9945e2',
950: '#000000',
},
}SCSS
$custom: #9945e2; $custom-light: #bc7fec; $custom-dark: #000000;
JSON
{
"hex": "#9945e2",
"rgb": {
"r": 153,
"g": 69,
"b": 226
},
"hsl": {
"h": 272.102,
"s": 73.023,
"l": 57.843
},
"oklch": {
"l": 0.57627,
"c": 0.22724,
"h": 304.6
},
"luminance": 0.1652
}Semantic roles & 50–950 ramp
primary
#9945E2
secondary
#BFE1A2
accent
#F0388D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84