#7B52F2#7B52F2
#7B52F2 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.4% C 0.226 H 289.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7B52F2 |
|---|---|
| RGB | rgb(123, 82, 242) |
| HSL | hsl(255, 86%, 64%) |
| HSV | hsv(255, 66%, 95%) |
| CMYK | cmyk(49.2%, 66.1%, 0%, 5.1%) |
| CIE-LAB | lab(47.82, 54.43, -74.67) |
| CIE-LCH | lch(47.82, 92.40, 306.09°) |
| OKLab | oklab(57.38% 0.0737 -0.2141) |
| OKLCH | oklch(57.38% 0.226 289) |
| XYZ | xyz(27.2081, 16.6552, 85.7683) |
| Luminance | 0.1666 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.90
Light Indigo
#6D5ACF
ΔE00 5.50
Mediumslateblue
#7B68EE
ΔE00 5.91
Purpleish Blue
#6140EF
ΔE00 5.92
Slate Blue
#6A5ACD
ΔE00 5.99
Bluish Purple
#703BE7
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B52F2 #C9F252
analogous
#5279F2 #7B52F2 #CB52F2
triadic
#7B52F2 #F27B52 #52F27B
tetradic
#7B52F2 #F25279 #C9F252 #52F2CB
square
#7B52F2 #F25279 #C9F252 #52F2CB
split-complementary
#7B52F2 #F2CB52 #79F252
monochromatic
#3B0EBC #5019EE #7B52F2 #A68BF6 #D2C4FB
Accessibility & contrast
On white
4.85
#7B52F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#7B52F2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B52F2
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B52F2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B52F2 | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075F7
Deuteranopia (green-blind)
#006DEF
Tritanopia (blue-blind)
#527A9B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7b52f2; /* rgb */ color: rgb(123, 82, 242); /* oklch */ color: oklch(57.4% 0.226 289.0);
Tailwind
colors: {
custom: {
50: '#aa85f7',
500: '#7b52f2',
950: '#000000',
},
}SCSS
$custom: #7b52f2; $custom-light: #aa85f7; $custom-dark: #000000;
JSON
{
"hex": "#7b52f2",
"rgb": {
"r": 123,
"g": 82,
"b": 242
},
"hsl": {
"h": 255.375,
"s": 86.022,
"l": 63.529
},
"oklch": {
"l": 0.57376,
"c": 0.22646,
"h": 289
},
"luminance": 0.16656
}Semantic roles & 50–950 ramp
primary
#7B52F2
secondary
#DEECB4
accent
#E303A9
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85