#7956FD#7956FD
#7956FD is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.6% C 0.235 H 286.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7956FD |
|---|---|
| RGB | rgb(121, 86, 253) |
| HSL | hsl(253, 98%, 66%) |
| HSV | hsv(253, 66%, 99%) |
| CMYK | cmyk(52.2%, 66%, 0%, 0.8%) |
| CIE-LAB | lab(49.27, 55.05, -78.46) |
| CIE-LCH | lch(49.27, 95.85, 305.05°) |
| OKLab | oklab(58.64% 0.0659 -0.2253) |
| OKLCH | oklch(58.64% 0.235 286.3) |
| XYZ | xyz(28.9373, 17.8109, 94.8225) |
| Luminance | 0.1781 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.01
Mediumslateblue
#7B68EE
ΔE00 4.91
Light Indigo
#6D5ACF
ΔE00 6.48
Slate Blue
#6A5ACD
ΔE00 6.93
Dark Periwinkle
#665FD1
ΔE00 6.98
Purpleish Blue
#6140EF
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7956FD #DAFD56
analogous
#5687FD #7956FD #CD56FD
triadic
#7956FD #FD7956 #56FD79
tetradic
#7956FD #FD5687 #DAFD56 #56FDCD
square
#7956FD #FD5687 #DAFD56 #56FDCD
split-complementary
#7956FD #FDCD56 #87FD56
monochromatic
#2F03D6 #491AFC #7956FD #A992FE #D9CFFE
Accessibility & contrast
On white
4.60
#7956FD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#7956FD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7956FD
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7956FD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7956FD | 1.00 | 4.60 | 4.56 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#0070FA
Tritanopia (blue-blind)
#4480A2
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7956fd; /* rgb */ color: rgb(121, 86, 253); /* oklch */ color: oklch(58.6% 0.235 286.3);
Tailwind
colors: {
custom: {
50: '#aa88ff',
500: '#7956fd',
950: '#000000',
},
}SCSS
$custom: #7956fd; $custom-light: #aa88ff; $custom-dark: #000000;
JSON
{
"hex": "#7956fd",
"rgb": {
"r": 121,
"g": 86,
"b": 253
},
"hsl": {
"h": 252.575,
"s": 97.661,
"l": 66.471
},
"oklch": {
"l": 0.58635,
"c": 0.2348,
"h": 286.3
},
"luminance": 0.17812
}Semantic roles & 50–950 ramp
primary
#7956FD
secondary
#E7F2BC
accent
#E600B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B18
muted
#807C86