#7454F2#7454F2
#7454F2 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.0% C 0.225 H 286.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #7454F2 |
|---|---|
| RGB | rgb(116, 84, 242) |
| HSL | hsl(252, 86%, 64%) |
| HSV | hsv(252, 65%, 95%) |
| CMYK | cmyk(52.1%, 65.3%, 0%, 5.1%) |
| CIE-LAB | lab(47.58, 52.17, -75.10) |
| CIE-LCH | lch(47.58, 91.44, 304.79°) |
| OKLab | oklab(57.05% 0.0626 -0.2156) |
| OKLCH | oklch(57.05% 0.225 286.2) |
| XYZ | xyz(26.3950, 16.4631, 85.7741) |
| Luminance | 0.1646 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.72
Light Indigo
#6D5ACF
ΔE00 5.00
Slate Blue
#6A5ACD
ΔE00 5.42
Mediumslateblue
#7B68EE
ΔE00 5.60
Purpleish Blue
#6140EF
ΔE00 5.66
Dark Periwinkle
#665FD1
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7454F2 #D2F254
analogous
#5483F2 #7454F2 #C354F2
triadic
#7454F2 #F27454 #54F274
tetradic
#7454F2 #F25483 #D2F254 #54F2C3
square
#7454F2 #F25483 #D2F254 #54F2C3
split-complementary
#7454F2 #F2C354 #83F254
monochromatic
#320EBD #461BEE #7454F2 #A28DF6 #D0C6FB
Accessibility & contrast
On white
4.89
#7454F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#7454F2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7454F2
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7454F2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7454F2 | 1.00 | 4.89 | 4.29 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075F7
Deuteranopia (green-blind)
#006CEF
Tritanopia (blue-blind)
#427C9C
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7454f2; /* rgb */ color: rgb(116, 84, 242); /* oklch */ color: oklch(57.0% 0.225 286.2);
Tailwind
colors: {
custom: {
50: '#a686f7',
500: '#7454f2',
950: '#000000',
},
}SCSS
$custom: #7454f2; $custom-light: #a686f7; $custom-dark: #000000;
JSON
{
"hex": "#7454f2",
"rgb": {
"r": 116,
"g": 84,
"b": 242
},
"hsl": {
"h": 252.152,
"s": 85.87,
"l": 63.922
},
"oklch": {
"l": 0.57045,
"c": 0.22452,
"h": 286.2
},
"luminance": 0.16464
}Semantic roles & 50–950 ramp
primary
#7454F2
secondary
#E1EDB5
accent
#E203B5
background
#FAF8FF
surface
#F5EFFF
border
#CFCAD7
text
#110B17
muted
#807C85