#7B52EF#7B52EF
#7B52EF is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.1% C 0.223 H 289.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #7B52EF |
|---|---|
| RGB | rgb(123, 82, 239) |
| HSL | hsl(256, 83%, 63%) |
| HSV | hsv(256, 66%, 94%) |
| CMYK | cmyk(48.5%, 65.7%, 0%, 6.3%) |
| CIE-LAB | lab(47.59, 53.60, -73.36) |
| CIE-LCH | lch(47.59, 90.86, 306.16°) |
| OKLab | oklab(57.14% 0.0741 -0.2103) |
| OKLCH | oklch(57.14% 0.223 289.4) |
| XYZ | xyz(26.7612, 16.4764, 83.4148) |
| Luminance | 0.1648 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.72
Light Indigo
#6D5ACF
ΔE00 5.20
Slate Blue
#6A5ACD
ΔE00 5.70
Purpleish Blue
#6140EF
ΔE00 5.82
Bluish Purple
#703BE7
ΔE00 5.86
Mediumslateblue
#7B68EE
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B52EF #C6EF52
analogous
#5277EF #7B52EF #CA52EF
triadic
#7B52EF #EF7B52 #52EF7B
tetradic
#7B52EF #EF5277 #C6EF52 #52EFCA
square
#7B52EF #EF5277 #C6EF52 #52EFCA
split-complementary
#7B52EF #EFCA52 #77EF52
monochromatic
#3C11B6 #501AEA #7B52EF #A68AF4 #D0C2F9
Accessibility & contrast
On white
4.89
#7B52EF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#7B52EF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B52EF
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B52EF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B52EF | 1.00 | 4.89 | 4.30 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074F4
Deuteranopia (green-blind)
#006DEC
Tritanopia (blue-blind)
#54799A
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7b52ef; /* rgb */ color: rgb(123, 82, 239); /* oklch */ color: oklch(57.1% 0.223 289.4);
Tailwind
colors: {
custom: {
50: '#aa85f5',
500: '#7b52ef',
950: '#000000',
},
}SCSS
$custom: #7b52ef; $custom-light: #aa85f5; $custom-dark: #000000;
JSON
{
"hex": "#7b52ef",
"rgb": {
"r": 123,
"g": 82,
"b": 239
},
"hsl": {
"h": 255.669,
"s": 83.069,
"l": 62.941
},
"oklch": {
"l": 0.5714,
"c": 0.22296,
"h": 289.4
},
"luminance": 0.16478
}Semantic roles & 50–950 ramp
primary
#7B52EF
secondary
#DCEBB2
accent
#DF06A7
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85