#9752E7#9752E7
#9752E7 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.3% C 0.216 H 301.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9752E7 |
|---|---|
| RGB | rgb(151, 82, 231) |
| HSL | hsl(268, 76%, 61%) |
| HSV | hsv(268, 65%, 91%) |
| CMYK | cmyk(34.6%, 64.5%, 0%, 9.4%) |
| CIE-LAB | lab(49.96, 56.89, -64.88) |
| CIE-LCH | lch(49.96, 86.29, 311.24°) |
| OKLab | oklab(59.34% 0.1123 -0.1845) |
| OKLCH | oklch(59.34% 0.216 301.3) |
| XYZ | xyz(30.2001, 18.3833, 77.5431) |
| Luminance | 0.1838 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.64
Purpley
#8756E4
ΔE00 2.87
Lighter Purple
#A55AF4
ΔE00 3.90
Electric Purple
#AA23FF
ΔE00 6.20
Amethyst
#9B5FC0
ΔE00 7.21
Bright Violet
#AD0AFD
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9752E7 #A2E752
analogous
#5258E7 #9752E7 #E252E7
triadic
#9752E7 #E79752 #52E797
tetradic
#9752E7 #E75258 #A2E752 #52E7E2
square
#9752E7 #E75258 #A2E752 #52E7E2
split-complementary
#9752E7 #E7E252 #58E752
monochromatic
#5A17A7 #771FDD #9752E7 #B788EE #D8BDF6
Accessibility & contrast
On white
4.49
#9752E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#9752E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9752E7
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9752E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9752E7 | 1.00 | 4.49 | 4.68 | 4.68 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076EC
Deuteranopia (green-blind)
#0D76E4
Tritanopia (blue-blind)
#867395
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #9752e7; /* rgb */ color: rgb(151, 82, 231); /* oklch */ color: oklch(59.3% 0.216 301.3);
Tailwind
colors: {
custom: {
50: '#bb87ef',
500: '#9752e7',
950: '#000000',
},
}SCSS
$custom: #9752e7; $custom-light: #bb87ef; $custom-dark: #000000;
JSON
{
"hex": "#9752e7",
"rgb": {
"r": 151,
"g": 82,
"b": 231
},
"hsl": {
"h": 267.785,
"s": 75.635,
"l": 61.373
},
"oklch": {
"l": 0.59337,
"c": 0.21598,
"h": 301.3
},
"luminance": 0.18383
}Semantic roles & 50–950 ramp
primary
#9752E7
secondary
#CCE6AF
accent
#D80E7A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120B17
muted
#817C85