#9945F2#9945F2
#9945F2 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.8% C 0.243 H 301.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9945F2 |
|---|---|
| RGB | rgb(153, 69, 242) |
| HSL | hsl(269, 87%, 61%) |
| HSV | hsv(269, 71%, 95%) |
| CMYK | cmyk(36.8%, 71.5%, 0%, 5.1%) |
| CIE-LAB | lab(48.81, 65.89, -72.92) |
| CIE-LCH | lch(48.81, 98.28, 312.10°) |
| OKLab | oklab(58.81% 0.1264 -0.208) |
| OKLCH | oklch(58.81% 0.243 301.3) |
| XYZ | xyz(31.2881, 17.4392, 85.7049) |
| Luminance | 0.1744 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Electric Purple
#AA23FF
ΔE00 3.87
Lightish Purple
#A552E6
ΔE00 4.05
Purpley
#8756E4
ΔE00 4.23
Bright Violet
#AD0AFD
ΔE00 5.00
Lighter Purple
#A55AF4
ΔE00 5.37
Neon Purple
#BC13FE
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9945F2 #9EF245
analogous
#4547F2 #9945F2 #F045F2
triadic
#9945F2 #F29945 #45F299
tetradic
#9945F2 #F24547 #9EF245 #45F2F0
square
#9945F2 #F24547 #9EF245 #45F2F0
split-complementary
#9945F2 #F2F045 #47F245
monochromatic
#5C0CB0 #7A10E9 #9945F2 #B87EF6 #D8B7FA
Accessibility & contrast
On white
4.68
#9945F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#9945F2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9945F2
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9945F2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9945F2 | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073F7
Deuteranopia (green-blind)
#0073EF
Tritanopia (blue-blind)
#867098
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9945f2; /* rgb */ color: rgb(153, 69, 242); /* oklch */ color: oklch(58.8% 0.243 301.3);
Tailwind
colors: {
custom: {
50: '#be80f7',
500: '#9945f2',
950: '#000000',
},
}SCSS
$custom: #9945f2; $custom-light: #be80f7; $custom-dark: #000000;
JSON
{
"hex": "#9945f2",
"rgb": {
"r": 153,
"g": 69,
"b": 242
},
"hsl": {
"h": 269.133,
"s": 86.935,
"l": 60.98
},
"oklch": {
"l": 0.58814,
"c": 0.24339,
"h": 301.3
},
"luminance": 0.17439
}Semantic roles & 50–950 ramp
primary
#9945F2
secondary
#CAEAA9
accent
#E30276
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85