#7B62DA#7B62DA
#7B62DA is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.1% C 0.176 H 289.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7B62DA |
|---|---|
| RGB | rgb(123, 98, 218) |
| HSL | hsl(253, 62%, 62%) |
| HSV | hsv(253, 55%, 85%) |
| CMYK | cmyk(43.6%, 55%, 0%, 14.5%) |
| CIE-LAB | lab(49.51, 38.81, -58.40) |
| CIE-LCH | lch(49.51, 70.12, 303.60°) |
| OKLab | oklab(58.07% 0.0583 -0.1663) |
| OKLCH | oklch(58.07% 0.176 289.3) |
| XYZ | xyz(25.1874, 18.0074, 68.4647) |
| Luminance | 0.1801 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.52
Light Indigo
#6D5ACF
ΔE00 3.79
Purpley
#8756E4
ΔE00 4.00
Dark Periwinkle
#665FD1
ΔE00 4.15
Slate Blue
#6A5ACD
ΔE00 4.28
Iris
#6258C4
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B62DA #C1DA62
analogous
#6285DA #7B62DA #B762DA
triadic
#7B62DA #DA7B62 #62DA7B
tetradic
#7B62DA #DA6285 #C1DA62 #62DAB7
square
#7B62DA #DA6285 #C1DA62 #62DAB7
split-complementary
#7B62DA #DAB762 #85DA62
monochromatic
#3E259D #5131CE #7B62DA #A594E6 #CEC5F1
Accessibility & contrast
On white
4.56
#7B62DA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#7B62DA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B62DA
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B62DA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B62DA | 1.00 | 4.56 | 4.60 | 4.60 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2178DE
Deuteranopia (green-blind)
#2473D7
Tritanopia (blue-blind)
#5F7C95
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7b62da; /* rgb */ color: rgb(123, 98, 218); /* oklch */ color: oklch(58.1% 0.176 289.3);
Tailwind
colors: {
custom: {
50: '#a78fe6',
500: '#7b62da',
950: '#000000',
},
}SCSS
$custom: #7b62da; $custom-light: #a78fe6; $custom-dark: #000000;
JSON
{
"hex": "#7b62da",
"rgb": {
"r": 123,
"g": 98,
"b": 218
},
"hsl": {
"h": 252.5,
"s": 61.856,
"l": 61.961
},
"oklch": {
"l": 0.58074,
"c": 0.17623,
"h": 289.3
},
"luminance": 0.18008
}Semantic roles & 50–950 ramp
primary
#7B62DA
secondary
#D9E2B6
accent
#CA1CA5
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84