#7E60FC#7E60FC
#7E60FC is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.4% C 0.221 H 286.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #7E60FC |
|---|---|
| RGB | rgb(126, 96, 252) |
| HSL | hsl(252, 96%, 68%) |
| HSV | hsv(252, 62%, 99%) |
| CMYK | cmyk(50%, 61.9%, 0%, 1.2%) |
| CIE-LAB | lab(51.64, 50.20, -74.02) |
| CIE-LCH | lch(51.64, 89.43, 304.14°) |
| OKLab | oklab(60.44% 0.0632 -0.2121) |
| OKLCH | oklch(60.44% 0.221 286.6) |
| XYZ | xyz(30.3526, 19.8282, 94.3045) |
| Luminance | 0.1983 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.72
Purpley
#8756E4
ΔE00 4.76
Lighter Purple
#A55AF4
ΔE00 6.86
Light Indigo
#6D5ACF
ΔE00 7.26
Dark Periwinkle
#665FD1
ΔE00 7.28
Mediumpurple
#9370DB
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E60FC #DEFC60
analogous
#6090FC #7E60FC #CC60FC
triadic
#7E60FC #FC7E60 #60FC7E
tetradic
#7E60FC #FC6090 #DEFC60 #60FCCC
square
#7E60FC #FC6090 #DEFC60 #60FCCC
split-complementary
#7E60FC #FCCC60 #90FC60
monochromatic
#2E04DD #4D24FB #7E60FC #AF9CFD #DFD8FE
Accessibility & contrast
On white
4.23
#7E60FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#7E60FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E60FC
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E60FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E60FC | 1.00 | 4.23 | 4.97 | 4.97 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0077F9
Tritanopia (blue-blind)
#4F85A5
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #7e60fc; /* rgb */ color: rgb(126, 96, 252); /* oklch */ color: oklch(60.4% 0.221 286.6);
Tailwind
colors: {
custom: {
50: '#ad8ffe',
500: '#7e60fc',
950: '#000000',
},
}SCSS
$custom: #7e60fc; $custom-light: #ad8ffe; $custom-dark: #000000;
JSON
{
"hex": "#7e60fc",
"rgb": {
"r": 126,
"g": 96,
"b": 252
},
"hsl": {
"h": 251.538,
"s": 96.296,
"l": 68.235
},
"oklch": {
"l": 0.60438,
"c": 0.22135,
"h": 286.6
},
"luminance": 0.1983
}Semantic roles & 50–950 ramp
primary
#7E60FC
secondary
#EAF4C4
accent
#E600B9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86