#7C62CA#7C62CA
#7C62CA is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.1% C 0.155 H 292.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7C62CA |
|---|---|
| RGB | rgb(124, 98, 202) |
| HSL | hsl(255, 50%, 59%) |
| HSV | hsv(255, 51%, 79%) |
| CMYK | cmyk(38.6%, 51.5%, 0%, 20.8%) |
| CIE-LAB | lab(48.62, 34.58, -50.69) |
| CIE-LCH | lch(48.62, 61.36, 304.30°) |
| OKLab | oklab(57.12% 0.0589 -0.1436) |
| OKLCH | oklch(57.12% 0.155 292.3) |
| XYZ | xyz(23.3377, 17.2841, 57.9722) |
| Luminance | 0.1729 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.87
Slate Blue
#6A5ACD
ΔE00 4.25
Dark Periwinkle
#665FD1
ΔE00 4.63
Purpley
#8756E4
ΔE00 5.17
Iris
#6258C4
ΔE00 5.73
Mediumslateblue
#7B68EE
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C62CA #B0CA62
analogous
#627CCA #7C62CA #B062CA
triadic
#7C62CA #CA7C62 #62CA7C
tetradic
#7C62CA #CA627C #B0CA62 #62CAB0
square
#7C62CA #CA627C #B0CA62 #62CAB0
split-complementary
#7C62CA #CAB062 #7CCA62
monochromatic
#432D85 #5A3CB3 #7C62CA #A290D9 #C8BEE9
Accessibility & contrast
On white
4.71
#7C62CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#7C62CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C62CA
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C62CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C62CA | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3775CE
Deuteranopia (green-blind)
#3C71C8
Tritanopia (blue-blind)
#68778D
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7c62ca; /* rgb */ color: rgb(124, 98, 202); /* oklch */ color: oklch(57.1% 0.155 292.3);
Tailwind
colors: {
custom: {
50: '#a68fdb',
500: '#7c62ca',
950: '#000000',
},
}SCSS
$custom: #7c62ca; $custom-light: #a68fdb; $custom-dark: #000000;
JSON
{
"hex": "#7c62ca",
"rgb": {
"r": 124,
"g": 98,
"b": 202
},
"hsl": {
"h": 255,
"s": 49.524,
"l": 58.824
},
"oklch": {
"l": 0.57121,
"c": 0.15522,
"h": 292.3
},
"luminance": 0.17285
}Semantic roles & 50–950 ramp
primary
#7C62CA
secondary
#CED8AF
accent
#D94FB6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83