#7C62F2#7C62F2
#7C62F2 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 59.8% C 0.207 H 286.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #7C62F2 |
|---|---|
| RGB | rgb(124, 98, 242) |
| HSL | hsl(251, 85%, 67%) |
| HSV | hsv(251, 60%, 95%) |
| CMYK | cmyk(48.8%, 59.5%, 0%, 5.1%) |
| CIE-LAB | lab(51.19, 45.85, -69.20) |
| CIE-LCH | lch(51.19, 83.01, 303.53°) |
| OKLab | oklab(59.84% 0.0593 -0.198) |
| OKLCH | oklch(59.84% 0.207 286.7) |
| XYZ | xyz(28.7022, 19.4299, 86.2252) |
| Luminance | 0.1943 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.75
Purpley
#8756E4
ΔE00 4.43
Dark Periwinkle
#665FD1
ΔE00 6.13
Light Indigo
#6D5ACF
ΔE00 6.19
Slate Blue
#6A5ACD
ΔE00 6.64
Mediumpurple
#9370DB
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C62F2 #D8F262
analogous
#6290F2 #7C62F2 #C462F2
triadic
#7C62F2 #F27C62 #62F27C
tetradic
#7C62F2 #F26290 #D8F262 #62F2C4
square
#7C62F2 #F26290 #D8F262 #62F2C4
split-complementary
#7C62F2 #F2C462 #90F262
monochromatic
#3211C9 #4D29ED #7C62F2 #AB9BF7 #DAD3FB
Accessibility & contrast
On white
4.30
#7C62F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#7C62F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C62F2
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C62F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C62F2 | 1.00 | 4.30 | 4.89 | 4.89 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007EF7
Deuteranopia (green-blind)
#0076EF
Tritanopia (blue-blind)
#5284A1
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7c62f2; /* rgb */ color: rgb(124, 98, 242); /* oklch */ color: oklch(59.8% 0.207 286.7);
Tailwind
colors: {
custom: {
50: '#aa90f7',
500: '#7c62f2',
950: '#000000',
},
}SCSS
$custom: #7c62f2; $custom-light: #aa90f7; $custom-dark: #000000;
JSON
{
"hex": "#7c62f2",
"rgb": {
"r": 124,
"g": 98,
"b": 242
},
"hsl": {
"h": 250.833,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.5984,
"c": 0.2067,
"h": 286.7
},
"luminance": 0.19431
}Semantic roles & 50–950 ramp
primary
#7C62F2
secondary
#E7EFC1
accent
#E104B9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85