#7F56DF#7F56DF
#7F56DF is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.9% C 0.199 H 292.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #7F56DF |
|---|---|
| RGB | rgb(127, 86, 223) |
| HSL | hsl(258, 68%, 61%) |
| HSV | hsv(258, 61%, 87%) |
| CMYK | cmyk(43%, 61.4%, 0%, 12.5%) |
| CIE-LAB | lab(47.62, 47.83, -64.27) |
| CIE-LCH | lch(47.62, 80.12, 306.66°) |
| OKLab | oklab(56.88% 0.0769 -0.1834) |
| OKLCH | oklch(56.88% 0.199 292.7) |
| XYZ | xyz(25.3958, 16.4946, 71.6434) |
| Luminance | 0.1650 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.56
Light Indigo
#6D5ACF
ΔE00 4.02
Slate Blue
#6A5ACD
ΔE00 4.62
Dark Periwinkle
#665FD1
ΔE00 5.62
Mediumslateblue
#7B68EE
ΔE00 5.84
Iris
#6258C4
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F56DF #B6DF56
analogous
#5671DF #7F56DF #C356DF
triadic
#7F56DF #DF7F56 #56DF7F
tetradic
#7F56DF #DF5671 #B6DF56 #56DFC3
square
#7F56DF #DF5671 #B6DF56 #56DFC3
split-complementary
#7F56DF #DFC356 #71DF56
monochromatic
#441E9D #5A27D0 #7F56DF #A689E9 #CDBDF2
Accessibility & contrast
On white
4.88
#7F56DF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#7F56DF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F56DF
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F56DF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F56DF | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#006EDC
Tritanopia (blue-blind)
#647592
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7f56df; /* rgb */ color: rgb(127, 86, 223); /* oklch */ color: oklch(56.9% 0.199 292.7);
Tailwind
colors: {
custom: {
50: '#ab87ea',
500: '#7f56df',
950: '#000000',
},
}SCSS
$custom: #7f56df; $custom-light: #ab87ea; $custom-dark: #000000;
JSON
{
"hex": "#7f56df",
"rgb": {
"r": 127,
"g": 86,
"b": 223
},
"hsl": {
"h": 257.956,
"s": 68.159,
"l": 60.588
},
"oklch": {
"l": 0.56883,
"c": 0.19892,
"h": 292.7
},
"luminance": 0.16495
}Semantic roles & 50–950 ramp
primary
#7F56DF
secondary
#D3E2AE
accent
#D01598
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84