#7F62F4#7F62F4
#7F62F4 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.2% C 0.209 H 287.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #7F62F4 |
|---|---|
| RGB | rgb(127, 98, 244) |
| HSL | hsl(252, 87%, 67%) |
| HSV | hsv(252, 60%, 96%) |
| CMYK | cmyk(48%, 59.8%, 0%, 4.3%) |
| CIE-LAB | lab(51.58, 47.00, -69.66) |
| CIE-LCH | lch(51.58, 84.03, 304.01°) |
| OKLab | oklab(60.24% 0.063 -0.1993) |
| OKLCH | oklch(60.24% 0.209 287.5) |
| XYZ | xyz(29.4445, 19.7777, 87.8364) |
| Luminance | 0.1978 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.93
Purpley
#8756E4
ΔE00 4.39
Light Indigo
#6D5ACF
ΔE00 6.65
Mediumpurple
#9370DB
ΔE00 6.67
Dark Periwinkle
#665FD1
ΔE00 6.67
Lighter Purple
#A55AF4
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F62F4 #D7F462
analogous
#628EF4 #7F62F4 #C862F4
triadic
#7F62F4 #F47F62 #62F47F
tetradic
#7F62F4 #F4628E #D7F462 #62F4C8
square
#7F62F4 #F4628E #D7F462 #62F4C8
split-complementary
#7F62F4 #F4C862 #8EF462
monochromatic
#340ECD #5029F0 #7F62F4 #AE9BF8 #DCD4FC
Accessibility & contrast
On white
4.24
#7F62F4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#7F62F4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F62F4
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F62F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F62F4 | 1.00 | 4.24 | 4.96 | 4.96 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007EF9
Deuteranopia (green-blind)
#0077F1
Tritanopia (blue-blind)
#5784A2
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #7f62f4; /* rgb */ color: rgb(127, 98, 244); /* oklch */ color: oklch(60.2% 0.209 287.5);
Tailwind
colors: {
custom: {
50: '#ac90f9',
500: '#7f62f4',
950: '#000000',
},
}SCSS
$custom: #7f62f4; $custom-light: #ac90f9; $custom-dark: #000000;
JSON
{
"hex": "#7f62f4",
"rgb": {
"r": 127,
"g": 98,
"b": 244
},
"hsl": {
"h": 251.918,
"s": 86.905,
"l": 67.059
},
"oklch": {
"l": 0.60239,
"c": 0.20899,
"h": 287.5
},
"luminance": 0.19779
}Semantic roles & 50–950 ramp
primary
#7F62F4
secondary
#E7F0C2
accent
#E302B7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85