#7456F6#7456F6
#7456F6 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.7% C 0.227 H 285.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7456F6 |
|---|---|
| RGB | rgb(116, 86, 246) |
| HSL | hsl(251, 90%, 65%) |
| HSV | hsv(251, 65%, 96%) |
| CMYK | cmyk(52.8%, 65%, 0%, 3.5%) |
| CIE-LAB | lab(48.29, 52.23, -76.18) |
| CIE-LCH | lch(48.29, 92.37, 304.44°) |
| OKLab | oklab(57.65% 0.0603 -0.2188) |
| OKLCH | oklch(57.65% 0.227 285.4) |
| XYZ | xyz(27.1598, 17.0209, 89.0252) |
| Luminance | 0.1702 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.96
Mediumslateblue
#7B68EE
ΔE00 5.04
Light Indigo
#6D5ACF
ΔE00 5.42
Slate Blue
#6A5ACD
ΔE00 5.83
Dark Periwinkle
#665FD1
ΔE00 5.95
Purpleish Blue
#6140EF
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7456F6 #D8F656
analogous
#5688F6 #7456F6 #C456F6
triadic
#7456F6 #F67456 #56F674
tetradic
#7456F6 #F65688 #D8F656 #56F6C4
square
#7456F6 #F65688 #D8F656 #56F6C4
split-complementary
#7456F6 #F6C456 #88F656
monochromatic
#2E0BC7 #441CF3 #7456F6 #A490F9 #D4CAFC
Accessibility & contrast
On white
4.77
#7456F6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#7456F6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7456F6
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7456F6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7456F6 | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077FB
Deuteranopia (green-blind)
#006EF3
Tritanopia (blue-blind)
#3D7E9F
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7456f6; /* rgb */ color: rgb(116, 86, 246); /* oklch */ color: oklch(57.7% 0.227 285.4);
Tailwind
colors: {
custom: {
50: '#a787fa',
500: '#7456f6',
950: '#000000',
},
}SCSS
$custom: #7456f6; $custom-light: #a787fa; $custom-dark: #000000;
JSON
{
"hex": "#7456f6",
"rgb": {
"r": 116,
"g": 86,
"b": 246
},
"hsl": {
"h": 251.25,
"s": 89.888,
"l": 65.098
},
"oklch": {
"l": 0.57654,
"c": 0.22694,
"h": 285.4
},
"luminance": 0.17022
}Semantic roles & 50–950 ramp
primary
#7456F6
secondary
#E5EFB9
accent
#E600BA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85