#7D52CF#7D52CF
#7D52CF is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.9% C 0.185 H 295.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #7D52CF |
|---|---|
| RGB | rgb(125, 82, 207) |
| HSL | hsl(261, 57%, 57%) |
| HSV | hsv(261, 60%, 81%) |
| CMYK | cmyk(39.6%, 60.4%, 0%, 18.8%) |
| CIE-LAB | lab(45.50, 45.31, -58.57) |
| CIE-LCH | lch(45.50, 74.05, 307.72°) |
| OKLab | oklab(54.94% 0.0796 -0.1668) |
| OKLCH | oklch(54.94% 0.185 295.5) |
| XYZ | xyz(22.7343, 14.8991, 60.6974) |
| Luminance | 0.1490 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.71
Light Indigo
#6D5ACF
ΔE00 3.88
Slate Blue
#6A5ACD
ΔE00 4.36
Iris
#6258C4
ΔE00 5.64
Dark Periwinkle
#665FD1
ΔE00 6.05
Bluish Purple
#703BE7
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D52CF #A4CF52
analogous
#5266CF #7D52CF #BC52CF
triadic
#7D52CF #CF7D52 #52CF7D
tetradic
#7D52CF #CF5266 #A4CF52 #52CFBC
square
#7D52CF #CF5266 #A4CF52 #52CFBC
split-complementary
#7D52CF #CFBC52 #66CF52
monochromatic
#452482 #5E31B2 #7D52CF #A182DC #C5B2EA
Accessibility & contrast
On white
5.28
#7D52CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#7D52CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D52CF
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D52CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D52CF | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#116ACC
Tritanopia (blue-blind)
#686E89
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7d52cf; /* rgb */ color: rgb(125, 82, 207); /* oklch */ color: oklch(54.9% 0.185 295.5);
Tailwind
colors: {
custom: {
50: '#a884de',
500: '#7d52cf',
950: '#000000',
},
}SCSS
$custom: #7d52cf; $custom-light: #a884de; $custom-dark: #000000;
JSON
{
"hex": "#7d52cf",
"rgb": {
"r": 125,
"g": 82,
"b": 207
},
"hsl": {
"h": 260.64,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.54944,
"c": 0.1848,
"h": 295.5
},
"luminance": 0.149
}Semantic roles & 50–950 ramp
primary
#7D52CF
secondary
#C6D8A5
accent
#E048AC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83