#7F56DD#7F56DD
#7F56DD is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.7% C 0.196 H 293.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #7F56DD |
|---|---|
| RGB | rgb(127, 86, 221) |
| HSL | hsl(258, 67%, 60%) |
| HSV | hsv(258, 61%, 87%) |
| CMYK | cmyk(42.5%, 61.1%, 0%, 13.3%) |
| CIE-LAB | lab(47.48, 47.29, -63.36) |
| CIE-LCH | lch(47.48, 79.06, 306.74°) |
| OKLab | oklab(56.74% 0.077 -0.1808) |
| OKLCH | oklch(56.74% 0.196 293.1) |
| XYZ | xyz(25.1278, 16.3874, 70.2317) |
| Luminance | 0.1639 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.69
Light Indigo
#6D5ACF
ΔE00 3.90
Slate Blue
#6A5ACD
ΔE00 4.51
Dark Periwinkle
#665FD1
ΔE00 5.57
Mediumslateblue
#7B68EE
ΔE00 5.99
Iris
#6258C4
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F56DD #B4DD56
analogous
#5671DD #7F56DD #C256DD
triadic
#7F56DD #DD7F56 #56DD7F
tetradic
#7F56DD #DD5671 #B4DD56 #56DDC2
square
#7F56DD #DD5671 #B4DD56 #56DDC2
split-complementary
#7F56DD #DDC256 #71DD56
monochromatic
#441F9A #5B29CD #7F56DD #A689E7 #CCBCF2
Accessibility & contrast
On white
4.91
#7F56DD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#7F56DD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F56DD
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F56DD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F56DD | 1.00 | 4.91 | 4.28 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E1
Deuteranopia (green-blind)
#006EDA
Tritanopia (blue-blind)
#657591
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7f56dd; /* rgb */ color: rgb(127, 86, 221); /* oklch */ color: oklch(56.7% 0.196 293.1);
Tailwind
colors: {
custom: {
50: '#aa87e8',
500: '#7f56dd',
950: '#000000',
},
}SCSS
$custom: #7f56dd; $custom-light: #aa87e8; $custom-dark: #000000;
JSON
{
"hex": "#7f56dd",
"rgb": {
"r": 127,
"g": 86,
"b": 221
},
"hsl": {
"h": 258.222,
"s": 66.502,
"l": 60.196
},
"oklch": {
"l": 0.56739,
"c": 0.19649,
"h": 293.1
},
"luminance": 0.16388
}Semantic roles & 50–950 ramp
primary
#7F56DD
secondary
#D2E1AE
accent
#CE1797
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84