#7B52CF#7B52CF
#7B52CF is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.7% C 0.185 H 294.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7B52CF |
|---|---|
| RGB | rgb(123, 82, 207) |
| HSL | hsl(260, 57%, 57%) |
| HSV | hsv(260, 60%, 81%) |
| CMYK | cmyk(40.6%, 60.4%, 0%, 18.8%) |
| CIE-LAB | lab(45.29, 44.87, -58.92) |
| CIE-LCH | lch(45.29, 74.06, 307.29°) |
| OKLab | oklab(54.75% 0.077 -0.1678) |
| OKLCH | oklch(54.75% 0.185 294.6) |
| XYZ | xyz(22.4452, 14.7500, 60.6839) |
| Luminance | 0.1475 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.58
Purpley
#8756E4
ΔE00 3.88
Slate Blue
#6A5ACD
ΔE00 4.05
Iris
#6258C4
ΔE00 5.30
Dark Periwinkle
#665FD1
ΔE00 5.77
Bluish Purple
#703BE7
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B52CF #A6CF52
analogous
#5268CF #7B52CF #BA52CF
triadic
#7B52CF #CF7B52 #52CF7B
tetradic
#7B52CF #CF5268 #A6CF52 #52CFBA
square
#7B52CF #CF5268 #A6CF52 #52CFBA
split-complementary
#7B52CF #CFBA52 #68CF52
monochromatic
#432482 #5C31B2 #7B52CF #A082DC #C4B2EA
Accessibility & contrast
On white
5.32
#7B52CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#7B52CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B52CF
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B52CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B52CF | 1.00 | 5.32 | 3.95 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#0A69CC
Tritanopia (blue-blind)
#656E89
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7b52cf; /* rgb */ color: rgb(123, 82, 207); /* oklch */ color: oklch(54.7% 0.185 294.6);
Tailwind
colors: {
custom: {
50: '#a784de',
500: '#7b52cf',
950: '#000000',
},
}SCSS
$custom: #7b52cf; $custom-light: #a784de; $custom-dark: #000000;
JSON
{
"hex": "#7b52cf",
"rgb": {
"r": 123,
"g": 82,
"b": 207
},
"hsl": {
"h": 259.68,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.54746,
"c": 0.18465,
"h": 294.6
},
"luminance": 0.14751
}Semantic roles & 50–950 ramp
primary
#7B52CF
secondary
#C7D8A5
accent
#E048AE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83