#7F62F9#7F62F9
#7F62F9 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.6% C 0.215 H 286.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #7F62F9 |
|---|---|
| RGB | rgb(127, 98, 249) |
| HSL | hsl(252, 93%, 68%) |
| HSV | hsv(252, 61%, 98%) |
| CMYK | cmyk(49%, 60.6%, 0%, 2.4%) |
| CIE-LAB | lab(51.93, 48.42, -71.87) |
| CIE-LCH | lch(51.93, 86.66, 303.97°) |
| OKLab | oklab(60.6% 0.0627 -0.2058) |
| OKLCH | oklch(60.6% 0.215 286.9) |
| XYZ | xyz(30.2139, 20.0855, 91.8890) |
| Luminance | 0.2009 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.19
Purpley
#8756E4
ΔE00 4.82
Lighter Purple
#A55AF4
ΔE00 6.78
Mediumpurple
#9370DB
ΔE00 6.99
Dark Periwinkle
#665FD1
ΔE00 7.17
Light Indigo
#6D5ACF
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F62F9 #DCF962
analogous
#6290F9 #7F62F9 #CA62F9
triadic
#7F62F9 #F97F62 #62F97F
tetradic
#7F62F9 #F96290 #DCF962 #62F9CA
square
#7F62F9 #F96290 #DCF962 #62F9CA
split-complementary
#7F62F9 #F9CA62 #90F962
monochromatic
#3008D8 #4F27F7 #7F62F9 #AF9DFB #DFD8FE
Accessibility & contrast
On white
4.19
#7F62F9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#7F62F9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F62F9
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F62F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F62F9 | 1.00 | 4.19 | 5.02 | 5.02 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0080FE
Deuteranopia (green-blind)
#0078F6
Tritanopia (blue-blind)
#5486A4
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #7f62f9; /* rgb */ color: rgb(127, 98, 249); /* oklch */ color: oklch(60.6% 0.215 286.9);
Tailwind
colors: {
custom: {
50: '#ad90fc',
500: '#7f62f9',
950: '#000000',
},
}SCSS
$custom: #7f62f9; $custom-light: #ad90fc; $custom-dark: #000000;
JSON
{
"hex": "#7f62f9",
"rgb": {
"r": 127,
"g": 98,
"b": 249
},
"hsl": {
"h": 251.523,
"s": 92.638,
"l": 68.039
},
"oklch": {
"l": 0.60604,
"c": 0.21514,
"h": 286.9
},
"luminance": 0.20087
}Semantic roles & 50–950 ramp
primary
#7F62F9
secondary
#EAF2C4
accent
#E600B9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110D18
muted
#807D86