#7D52C8#7D52C8
#7D52C8 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.5% C 0.176 H 297.0°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #7D52C8 |
|---|---|
| RGB | rgb(125, 82, 200) |
| HSL | hsl(262, 52%, 55%) |
| HSV | hsv(262, 59%, 78%) |
| CMYK | cmyk(37.5%, 59%, 0%, 21.6%) |
| CIE-LAB | lab(45.03, 43.45, -55.29) |
| CIE-LCH | lch(45.03, 70.32, 308.16°) |
| OKLab | oklab(54.46% 0.0799 -0.1571) |
| OKLCH | oklch(54.46% 0.176 297) |
| XYZ | xyz(21.8974, 14.5643, 56.2899) |
| Luminance | 0.1457 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.24
Purpley
#8756E4
ΔE00 4.60
Slate Blue
#6A5ACD
ΔE00 4.64
Royal Purple
#7851A9
ΔE00 5.24
Iris
#6258C4
ΔE00 5.66
Deep Lavender
#8D5EB7
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D52C8 #9DC852
analogous
#5262C8 #7D52C8 #B852C8
triadic
#7D52C8 #C87D52 #52C87D
tetradic
#7D52C8 #C85262 #9DC852 #52C8B8
square
#7D52C8 #C85262 #9DC852 #52C8B8
split-complementary
#7D52C8 #C8B852 #62C852
monochromatic
#452779 #5F35A8 #7D52C8 #A080D7 #C3AFE6
Accessibility & contrast
On white
5.37
#7D52C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#7D52C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D52C8
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D52C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D52C8 | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#066BCC
Deuteranopia (green-blind)
#2269C5
Tritanopia (blue-blind)
#6B6B85
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7d52c8; /* rgb */ color: rgb(125, 82, 200); /* oklch */ color: oklch(54.5% 0.176 297.0);
Tailwind
colors: {
custom: {
50: '#a784d9',
500: '#7d52c8',
950: '#000000',
},
}SCSS
$custom: #7d52c8; $custom-light: #a784d9; $custom-dark: #000000;
JSON
{
"hex": "#7d52c8",
"rgb": {
"r": 125,
"g": 82,
"b": 200
},
"hsl": {
"h": 261.864,
"s": 51.754,
"l": 55.294
},
"oklch": {
"l": 0.54457,
"c": 0.17624,
"h": 297
},
"luminance": 0.14565
}Semantic roles & 50–950 ramp
primary
#7D52C8
secondary
#C2D4A2
accent
#DB4DA7
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83