#7F62F5#7F62F5
#7F62F5 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.3% C 0.210 H 287.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #7F62F5 |
|---|---|
| RGB | rgb(127, 98, 245) |
| HSL | hsl(252, 88%, 67%) |
| HSV | hsv(252, 60%, 96%) |
| CMYK | cmyk(48.2%, 60%, 0%, 3.9%) |
| CIE-LAB | lab(51.65, 47.29, -70.10) |
| CIE-LCH | lch(51.65, 84.56, 304.00°) |
| OKLab | oklab(60.31% 0.0629 -0.2006) |
| OKLCH | oklch(60.31% 0.21 287.4) |
| XYZ | xyz(29.5967, 19.8386, 88.6383) |
| Luminance | 0.1984 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.97
Purpley
#8756E4
ΔE00 4.47
Mediumpurple
#9370DB
ΔE00 6.73
Lighter Purple
#A55AF4
ΔE00 6.75
Light Indigo
#6D5ACF
ΔE00 6.76
Dark Periwinkle
#665FD1
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F62F5 #D8F562
analogous
#628EF5 #7F62F5 #C962F5
triadic
#7F62F5 #F57F62 #62F57F
tetradic
#7F62F5 #F5628E #D8F562 #62F5C9
square
#7F62F5 #F5628E #D8F562 #62F5C9
split-complementary
#7F62F5 #F5C962 #8EF562
monochromatic
#340DCF #5028F1 #7F62F5 #AE9CF9 #DDD5FC
Accessibility & contrast
On white
4.23
#7F62F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#7F62F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F62F5
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F62F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F62F5 | 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)
#007FFA
Deuteranopia (green-blind)
#0077F2
Tritanopia (blue-blind)
#5684A2
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #7f62f5; /* rgb */ color: rgb(127, 98, 245); /* oklch */ color: oklch(60.3% 0.210 287.4);
Tailwind
colors: {
custom: {
50: '#ac90f9',
500: '#7f62f5',
950: '#000000',
},
}SCSS
$custom: #7f62f5; $custom-light: #ac90f9; $custom-dark: #000000;
JSON
{
"hex": "#7f62f5",
"rgb": {
"r": 127,
"g": 98,
"b": 245
},
"hsl": {
"h": 251.837,
"s": 88.024,
"l": 67.255
},
"oklch": {
"l": 0.60311,
"c": 0.21022,
"h": 287.4
},
"luminance": 0.1984
}Semantic roles & 50–950 ramp
primary
#7F62F5
secondary
#E7F1C2
accent
#E501B8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85