#7B52ED#7B52ED
#7B52ED is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.0% C 0.221 H 289.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #7B52ED |
|---|---|
| RGB | rgb(123, 82, 237) |
| HSL | hsl(256, 81%, 63%) |
| HSV | hsv(256, 65%, 93%) |
| CMYK | cmyk(48.1%, 65.4%, 0%, 7.1%) |
| CIE-LAB | lab(47.44, 53.05, -72.48) |
| CIE-LCH | lch(47.44, 89.82, 306.20°) |
| OKLab | oklab(56.98% 0.0744 -0.2077) |
| OKLCH | oklch(56.98% 0.221 289.7) |
| XYZ | xyz(26.4674, 16.3589, 81.8674) |
| Luminance | 0.1636 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.61
Light Indigo
#6D5ACF
ΔE00 5.01
Slate Blue
#6A5ACD
ΔE00 5.52
Bluish Purple
#703BE7
ΔE00 5.76
Purpleish Blue
#6140EF
ΔE00 5.77
Mediumslateblue
#7B68EE
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B52ED #C4ED52
analogous
#5276ED #7B52ED #C952ED
triadic
#7B52ED #ED7B52 #52ED7B
tetradic
#7B52ED #ED5276 #C4ED52 #52EDC9
square
#7B52ED #ED5276 #C4ED52 #52EDC9
split-complementary
#7B52ED #EDC952 #76ED52
monochromatic
#3D13B2 #511BE7 #7B52ED #A589F3 #D0C1F9
Accessibility & contrast
On white
4.92
#7B52ED on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#7B52ED on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B52ED
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B52ED | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B52ED | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074F2
Deuteranopia (green-blind)
#006DEA
Tritanopia (blue-blind)
#557899
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7b52ed; /* rgb */ color: rgb(123, 82, 237); /* oklch */ color: oklch(57.0% 0.221 289.7);
Tailwind
colors: {
custom: {
50: '#aa85f4',
500: '#7b52ed',
950: '#000000',
},
}SCSS
$custom: #7b52ed; $custom-light: #aa85f4; $custom-dark: #000000;
JSON
{
"hex": "#7b52ed",
"rgb": {
"r": 123,
"g": 82,
"b": 237
},
"hsl": {
"h": 255.871,
"s": 81.152,
"l": 62.549
},
"oklch": {
"l": 0.56984,
"c": 0.22062,
"h": 289.7
},
"luminance": 0.1636
}Semantic roles & 50–950 ramp
primary
#7B52ED
secondary
#DBEAB1
accent
#DE08A5
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85