#7C62FD#7C62FD
#7C62FD is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.7% C 0.220 H 285.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #7C62FD |
|---|---|
| RGB | rgb(124, 98, 253) |
| HSL | hsl(250, 97%, 69%) |
| HSV | hsv(250, 61%, 99%) |
| CMYK | cmyk(51%, 61.3%, 0%, 0.8%) |
| CIE-LAB | lab(51.96, 49.01, -74.06) |
| CIE-LCH | lch(51.96, 88.81, 303.50°) |
| OKLab | oklab(60.65% 0.0587 -0.2123) |
| OKLCH | oklch(60.65% 0.22 285.4) |
| XYZ | xyz(30.4042, 20.1107, 95.1892) |
| Luminance | 0.2011 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.39
Purpley
#8756E4
ΔE00 5.33
Dark Periwinkle
#665FD1
ΔE00 7.29
Lighter Purple
#A55AF4
ΔE00 7.30
Light Indigo
#6D5ACF
ΔE00 7.47
Mediumpurple
#9370DB
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C62FD #E3FD62
analogous
#6296FD #7C62FD #CA62FD
triadic
#7C62FD #FD7C62 #62FD7C
tetradic
#7C62FD #FD6296 #E3FD62 #62FDCA
square
#7C62FD #FD6296 #E3FD62 #62FDCA
split-complementary
#7C62FD #FDCA62 #96FD62
monochromatic
#2803E2 #4A26FC #7C62FD #AE9EFE #E1DBFF
Accessibility & contrast
On white
4.18
#7C62FD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#7C62FD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C62FD
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C62FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C62FD | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 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)
#0080FF
Deuteranopia (green-blind)
#0077FA
Tritanopia (blue-blind)
#4A87A7
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #7c62fd; /* rgb */ color: rgb(124, 98, 253); /* oklch */ color: oklch(60.7% 0.220 285.4);
Tailwind
colors: {
custom: {
50: '#ab90ff',
500: '#7c62fd',
950: '#000000',
},
}SCSS
$custom: #7c62fd; $custom-light: #ab90ff; $custom-dark: #000000;
JSON
{
"hex": "#7c62fd",
"rgb": {
"r": 124,
"g": 98,
"b": 253
},
"hsl": {
"h": 250.065,
"s": 97.484,
"l": 68.824
},
"oklch": {
"l": 0.60652,
"c": 0.22028,
"h": 285.4
},
"luminance": 0.20112
}Semantic roles & 50–950 ramp
primary
#7C62FD
secondary
#EDF4C6
accent
#E600BF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86