#7F60F8#7F60F8
#7F60F8 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.2% C 0.216 H 287.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #7F60F8 |
|---|---|
| RGB | rgb(127, 96, 248) |
| HSL | hsl(252, 92%, 67%) |
| HSV | hsv(252, 61%, 97%) |
| CMYK | cmyk(48.8%, 61.3%, 0%, 2.7%) |
| CIE-LAB | lab(51.44, 49.25, -72.11) |
| CIE-LCH | lch(51.44, 87.33, 304.33°) |
| OKLab | oklab(60.22% 0.0648 -0.2065) |
| OKLCH | oklch(60.22% 0.216 287.4) |
| XYZ | xyz(29.8736, 19.6537, 91.0082) |
| Luminance | 0.1966 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.54
Purpley
#8756E4
ΔE00 4.32
Lighter Purple
#A55AF4
ΔE00 6.66
Light Indigo
#6D5ACF
ΔE00 6.87
Dark Periwinkle
#665FD1
ΔE00 6.97
Mediumpurple
#9370DB
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F60F8 #D9F860
analogous
#608DF8 #7F60F8 #CB60F8
triadic
#7F60F8 #F87F60 #60F87F
tetradic
#7F60F8 #F8608D #D9F860 #60F8CB
square
#7F60F8 #F8608D #D9F860 #60F8CB
split-complementary
#7F60F8 #F8CB60 #8DF860
monochromatic
#3309D4 #5025F5 #7F60F8 #AE9BFB #DDD5FD
Accessibility & contrast
On white
4.26
#7F60F8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#7F60F8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F60F8
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F60F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F60F8 | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007EFD
Deuteranopia (green-blind)
#0076F5
Tritanopia (blue-blind)
#5484A3
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #7f60f8; /* rgb */ color: rgb(127, 96, 248); /* oklch */ color: oklch(60.2% 0.216 287.4);
Tailwind
colors: {
custom: {
50: '#ad8efc',
500: '#7f60f8',
950: '#000000',
},
}SCSS
$custom: #7f60f8; $custom-light: #ad8efc; $custom-dark: #000000;
JSON
{
"hex": "#7f60f8",
"rgb": {
"r": 127,
"g": 96,
"b": 248
},
"hsl": {
"h": 252.237,
"s": 91.566,
"l": 67.451
},
"oklch": {
"l": 0.60224,
"c": 0.21642,
"h": 287.4
},
"luminance": 0.19655
}Semantic roles & 50–950 ramp
primary
#7F60F8
secondary
#E8F2C2
accent
#E600B7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86