#9952EF#9952EF
#9952EF is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 60.1% C 0.225 H 300.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9952EF |
|---|---|
| RGB | rgb(153, 82, 239) |
| HSL | hsl(267, 83%, 63%) |
| HSV | hsv(267, 66%, 94%) |
| CMYK | cmyk(36%, 65.7%, 0%, 6.3%) |
| CIE-LAB | lab(50.73, 59.22, -68.12) |
| CIE-LCH | lch(50.73, 90.26, 311.00°) |
| OKLab | oklab(60.12% 0.1141 -0.1939) |
| OKLCH | oklch(60.12% 0.225 300.5) |
| XYZ | xyz(31.7304, 19.0386, 83.6478) |
| Luminance | 0.1904 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.69
Lighter Purple
#A55AF4
ΔE00 3.19
Purpley
#8756E4
ΔE00 3.34
Electric Purple
#AA23FF
ΔE00 6.00
Neon Purple
#BC13FE
ΔE00 7.10
Bright Violet
#AD0AFD
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9952EF #A8EF52
analogous
#5259EF #9952EF #E852EF
triadic
#9952EF #EF9952 #52EF99
tetradic
#9952EF #EF5259 #A8EF52 #52EFE8
square
#9952EF #EF5259 #A8EF52 #52EFE8
split-complementary
#9952EF #EFE852 #59EF52
monochromatic
#5B11B6 #781AEA #9952EF #BA8AF4 #DBC2F9
Accessibility & contrast
On white
4.37
#9952EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#9952EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9952EF
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9952EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9952EF | 1.00 | 4.37 | 4.81 | 4.81 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F4
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#86769A
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #9952ef; /* rgb */ color: rgb(153, 82, 239); /* oklch */ color: oklch(60.1% 0.225 300.5);
Tailwind
colors: {
custom: {
50: '#bd87f5',
500: '#9952ef',
950: '#000000',
},
}SCSS
$custom: #9952ef; $custom-light: #bd87f5; $custom-dark: #000000;
JSON
{
"hex": "#9952ef",
"rgb": {
"r": 153,
"g": 82,
"b": 239
},
"hsl": {
"h": 267.134,
"s": 83.069,
"l": 62.941
},
"oklch": {
"l": 0.60118,
"c": 0.22501,
"h": 300.5
},
"luminance": 0.19039
}Semantic roles & 50–950 ramp
primary
#9952EF
secondary
#D1EBB2
accent
#DF067D
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85