#7B52DF#7B52DF
#7B52DF is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 55.9% C 0.204 H 291.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #7B52DF |
|---|---|
| RGB | rgb(123, 82, 223) |
| HSL | hsl(257, 69%, 60%) |
| HSV | hsv(257, 63%, 87%) |
| CMYK | cmyk(44.8%, 63.2%, 0%, 12.5%) |
| CIE-LAB | lab(46.41, 49.21, -66.25) |
| CIE-LCH | lch(46.41, 82.53, 306.61°) |
| OKLab | oklab(55.91% 0.0759 -0.1894) |
| OKLCH | oklch(55.91% 0.204 291.8) |
| XYZ | xyz(24.5013, 15.5724, 71.5126) |
| Luminance | 0.1557 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.56
Light Indigo
#6D5ACF
ΔE00 3.89
Slate Blue
#6A5ACD
ΔE00 4.43
Bluish Purple
#703BE7
ΔE00 5.45
Dark Periwinkle
#665FD1
ΔE00 5.66
Purpleish Blue
#6140EF
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B52DF #B6DF52
analogous
#5270DF #7B52DF #C252DF
triadic
#7B52DF #DF7B52 #52DF7B
tetradic
#7B52DF #DF5270 #B6DF52 #52DFC2
square
#7B52DF #DF5270 #B6DF52 #52DFC2
split-complementary
#7B52DF #DFC252 #70DF52
monochromatic
#411D9A #5726CE #7B52DF #A286E9 #CAB9F2
Accessibility & contrast
On white
5.10
#7B52DF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#7B52DF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B52DF
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B52DF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B52DF | 1.00 | 5.10 | 4.11 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#006BDC
Tritanopia (blue-blind)
#5D7391
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7b52df; /* rgb */ color: rgb(123, 82, 223); /* oklch */ color: oklch(55.9% 0.204 291.8);
Tailwind
colors: {
custom: {
50: '#a885ea',
500: '#7b52df',
950: '#000000',
},
}SCSS
$custom: #7b52df; $custom-light: #a885ea; $custom-dark: #000000;
JSON
{
"hex": "#7b52df",
"rgb": {
"r": 123,
"g": 82,
"b": 223
},
"hsl": {
"h": 257.447,
"s": 68.78,
"l": 59.804
},
"oklch": {
"l": 0.55913,
"c": 0.20403,
"h": 291.8
},
"luminance": 0.15573
}Semantic roles & 50–950 ramp
primary
#7B52DF
secondary
#D2E2AB
accent
#EC3CB9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84