#7F56FD#7F56FD
#7F56FD is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.2% C 0.234 H 288.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7F56FD |
|---|---|
| RGB | rgb(127, 86, 253) |
| HSL | hsl(255, 98%, 66%) |
| HSV | hsv(255, 66%, 99%) |
| CMYK | cmyk(49.8%, 66%, 0%, 0.8%) |
| CIE-LAB | lab(49.81, 56.04, -77.56) |
| CIE-LCH | lch(49.81, 95.68, 305.85°) |
| OKLab | oklab(59.16% 0.0738 -0.2225) |
| OKLCH | oklch(59.16% 0.234 288.4) |
| XYZ | xyz(29.8046, 18.2581, 94.8632) |
| Luminance | 0.1826 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.59
Mediumslateblue
#7B68EE
ΔE00 4.89
Lighter Purple
#A55AF4
ΔE00 6.78
Light Indigo
#6D5ACF
ΔE00 6.88
Slate Blue
#6A5ACD
ΔE00 7.37
Lightish Purple
#A552E6
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F56FD #D4FD56
analogous
#5681FD #7F56FD #D356FD
triadic
#7F56FD #FD7F56 #56FD7F
tetradic
#7F56FD #FD5681 #D4FD56 #56FDD3
square
#7F56FD #FD5681 #D4FD56 #56FDD3
split-complementary
#7F56FD #FDD356 #81FD56
monochromatic
#3603D6 #511AFC #7F56FD #AD92FE #DBCFFE
Accessibility & contrast
On white
4.51
#7F56FD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#7F56FD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F56FD
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F56FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F56FD | 1.00 | 4.51 | 4.65 | 4.65 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#0072FA
Tritanopia (blue-blind)
#5280A3
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7f56fd; /* rgb */ color: rgb(127, 86, 253); /* oklch */ color: oklch(59.2% 0.234 288.4);
Tailwind
colors: {
custom: {
50: '#ae88ff',
500: '#7f56fd',
950: '#000000',
},
}SCSS
$custom: #7f56fd; $custom-light: #ae88ff; $custom-dark: #000000;
JSON
{
"hex": "#7f56fd",
"rgb": {
"r": 127,
"g": 86,
"b": 253
},
"hsl": {
"h": 254.731,
"s": 97.661,
"l": 66.471
},
"oklch": {
"l": 0.59155,
"c": 0.23444,
"h": 288.4
},
"luminance": 0.18259
}Semantic roles & 50–950 ramp
primary
#7F56FD
secondary
#E5F2BC
accent
#E600AD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86