#7B52CD#7B52CD
#7B52CD is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.6% C 0.182 H 295.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #7B52CD |
|---|---|
| RGB | rgb(123, 82, 205) |
| HSL | hsl(260, 55%, 56%) |
| HSV | hsv(260, 60%, 80%) |
| CMYK | cmyk(40%, 60%, 0%, 19.6%) |
| CIE-LAB | lab(45.15, 44.33, -57.98) |
| CIE-LCH | lch(45.15, 72.99, 307.40°) |
| OKLab | oklab(54.6% 0.0771 -0.1651) |
| OKLCH | oklch(54.6% 0.182 295) |
| XYZ | xyz(22.2022, 14.6528, 59.4043) |
| Luminance | 0.1465 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.66
Slate Blue
#6A5ACD
ΔE00 4.10
Purpley
#8756E4
ΔE00 4.11
Iris
#6258C4
ΔE00 5.28
Dark Periwinkle
#665FD1
ΔE00 5.86
Royal Purple
#7851A9
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B52CD #A4CD52
analogous
#5267CD #7B52CD #B952CD
triadic
#7B52CD #CD7B52 #52CD7B
tetradic
#7B52CD #CD5267 #A4CD52 #52CDB9
square
#7B52CD #CD5267 #A4CD52 #52CDB9
split-complementary
#7B52CD #CDB952 #67CD52
monochromatic
#432580 #5C33AF #7B52CD #9F81DB #C3B1E8
Accessibility & contrast
On white
5.34
#7B52CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#7B52CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B52CD
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B52CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B52CD | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#1269CA
Tritanopia (blue-blind)
#666D88
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7b52cd; /* rgb */ color: rgb(123, 82, 205); /* oklch */ color: oklch(54.6% 0.182 295.0);
Tailwind
colors: {
custom: {
50: '#a684dd',
500: '#7b52cd',
950: '#000000',
},
}SCSS
$custom: #7b52cd; $custom-light: #a684dd; $custom-dark: #000000;
JSON
{
"hex": "#7b52cd",
"rgb": {
"r": 123,
"g": 82,
"b": 205
},
"hsl": {
"h": 260,
"s": 55.157,
"l": 56.275
},
"oklch": {
"l": 0.54604,
"c": 0.18219,
"h": 295
},
"luminance": 0.14653
}Semantic roles & 50–950 ramp
primary
#7B52CD
secondary
#C6D7A4
accent
#DE49AD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83