#7B62CD#7B62CD
#7B62CD is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.2% C 0.159 H 291.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7B62CD |
|---|---|
| RGB | rgb(123, 98, 205) |
| HSL | hsl(254, 52%, 59%) |
| HSV | hsv(254, 52%, 80%) |
| CMYK | cmyk(40%, 52.2%, 0%, 19.6%) |
| CIE-LAB | lab(48.70, 35.16, -52.28) |
| CIE-LCH | lch(48.70, 63.01, 303.93°) |
| OKLab | oklab(57.22% 0.0578 -0.1483) |
| OKLCH | oklch(57.22% 0.159 291.3) |
| XYZ | xyz(23.5525, 17.3534, 59.8544) |
| Luminance | 0.1735 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.58
Slate Blue
#6A5ACD
ΔE00 3.98
Dark Periwinkle
#665FD1
ΔE00 4.25
Purpley
#8756E4
ΔE00 4.92
Mediumslateblue
#7B68EE
ΔE00 5.34
Iris
#6258C4
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B62CD #B4CD62
analogous
#627FCD #7B62CD #B162CD
triadic
#7B62CD #CD7B62 #62CD7B
tetradic
#7B62CD #CD627F #B4CD62 #62CDB1
square
#7B62CD #CD627F #B4CD62 #62CDB1
split-complementary
#7B62CD #CDB162 #7FCD62
monochromatic
#412C89 #583AB7 #7B62CD #A290DC #C9BFEB
Accessibility & contrast
On white
4.70
#7B62CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#7B62CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B62CD
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B62CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B62CD | 1.00 | 4.70 | 4.47 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3375D1
Deuteranopia (green-blind)
#3771CB
Tritanopia (blue-blind)
#65788E
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7b62cd; /* rgb */ color: rgb(123, 98, 205); /* oklch */ color: oklch(57.2% 0.159 291.3);
Tailwind
colors: {
custom: {
50: '#a68fdd',
500: '#7b62cd',
950: '#000000',
},
}SCSS
$custom: #7b62cd; $custom-light: #a68fdd; $custom-dark: #000000;
JSON
{
"hex": "#7b62cd",
"rgb": {
"r": 123,
"g": 98,
"b": 205
},
"hsl": {
"h": 254.019,
"s": 51.691,
"l": 59.412
},
"oklch": {
"l": 0.5722,
"c": 0.15918,
"h": 291.3
},
"luminance": 0.17354
}Semantic roles & 50–950 ramp
primary
#7B62CD
secondary
#D1DAB1
accent
#DB4DBA
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83