#7D56D2#7D56D2
#7D56D2 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.8% C 0.183 H 294.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #7D56D2 |
|---|---|
| RGB | rgb(125, 86, 210) |
| HSL | hsl(259, 58%, 58%) |
| HSV | hsv(259, 59%, 82%) |
| CMYK | cmyk(40.5%, 59%, 0%, 17.6%) |
| CIE-LAB | lab(46.54, 43.89, -58.62) |
| CIE-LCH | lch(46.54, 73.23, 306.82°) |
| OKLab | oklab(55.77% 0.0749 -0.1669) |
| OKLCH | oklch(55.77% 0.183 294.2) |
| XYZ | xyz(23.4150, 15.6681, 62.7509) |
| Luminance | 0.1567 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.04
Light Indigo
#6D5ACF
ΔE00 3.29
Slate Blue
#6A5ACD
ΔE00 3.86
Dark Periwinkle
#665FD1
ΔE00 5.30
Iris
#6258C4
ΔE00 5.45
Deep Lavender
#8D5EB7
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D56D2 #ABD256
analogous
#566DD2 #7D56D2 #BB56D2
triadic
#7D56D2 #D27D56 #56D27D
tetradic
#7D56D2 #D2566D #ABD256 #56D2BB
square
#7D56D2 #D2566D #ABD256 #56D2BB
split-complementary
#7D56D2 #D2BB56 #6DD256
monochromatic
#442589 #5C31B9 #7D56D2 #A286DF #C7B7EC
Accessibility & contrast
On white
5.08
#7D56D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#7D56D2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D56D2
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D56D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D56D2 | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070D6
Deuteranopia (green-blind)
#176CCF
Tritanopia (blue-blind)
#67718C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7d56d2; /* rgb */ color: rgb(125, 86, 210); /* oklch */ color: oklch(55.8% 0.183 294.2);
Tailwind
colors: {
custom: {
50: '#a887e1',
500: '#7d56d2',
950: '#000000',
},
}SCSS
$custom: #7d56d2; $custom-light: #a887e1; $custom-dark: #000000;
JSON
{
"hex": "#7d56d2",
"rgb": {
"r": 125,
"g": 86,
"b": 210
},
"hsl": {
"h": 258.871,
"s": 57.944,
"l": 58.039
},
"oklch": {
"l": 0.55768,
"c": 0.18292,
"h": 294.2
},
"luminance": 0.15669
}Semantic roles & 50–950 ramp
primary
#7D56D2
secondary
#CBDBA9
accent
#E147B1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83