#9752F3#9752F3
#9752F3 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.2% C 0.229 H 299.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #9752F3 |
|---|---|
| RGB | rgb(151, 82, 243) |
| HSL | hsl(266, 87%, 64%) |
| HSV | hsv(266, 66%, 95%) |
| CMYK | cmyk(37.9%, 66.3%, 0%, 4.7%) |
| CIE-LAB | lab(50.79, 59.80, -70.28) |
| CIE-LCH | lch(50.79, 92.28, 310.39°) |
| OKLab | oklab(60.19% 0.111 -0.2003) |
| OKLCH | oklch(60.19% 0.229 299) |
| XYZ | xyz(31.9534, 19.0846, 86.7769) |
| Luminance | 0.1908 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.26
Lightish Purple
#A552E6
ΔE00 3.31
Lighter Purple
#A55AF4
ΔE00 3.37
Electric Purple
#AA23FF
ΔE00 6.06
Mediumslateblue
#7B68EE
ΔE00 7.10
Neon Purple
#BC13FE
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9752F3 #AEF352
analogous
#525DF3 #9752F3 #E752F3
triadic
#9752F3 #F39752 #52F397
tetradic
#9752F3 #F3525D #AEF352 #52F3E7
square
#9752F3 #F3525D #AEF352 #52F3E7
split-complementary
#9752F3 #F3E752 #5DF352
monochromatic
#590DBD #7519EF #9752F3 #B98BF7 #DCC4FB
Accessibility & contrast
On white
4.36
#9752F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#9752F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9752F3
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9752F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9752F3 | 1.00 | 4.36 | 4.82 | 4.82 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079F8
Deuteranopia (green-blind)
#0077F0
Tritanopia (blue-blind)
#82789C
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #9752f3; /* rgb */ color: rgb(151, 82, 243); /* oklch */ color: oklch(60.2% 0.229 299.0);
Tailwind
colors: {
custom: {
50: '#bc87f8',
500: '#9752f3',
950: '#000000',
},
}SCSS
$custom: #9752f3; $custom-light: #bc87f8; $custom-dark: #000000;
JSON
{
"hex": "#9752f3",
"rgb": {
"r": 151,
"g": 82,
"b": 243
},
"hsl": {
"h": 265.714,
"s": 87.027,
"l": 63.725
},
"oklch": {
"l": 0.60194,
"c": 0.22904,
"h": 299
},
"luminance": 0.19085
}Semantic roles & 50–950 ramp
primary
#9752F3
secondary
#D4EDB4
accent
#E40283
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85