#7762CA#7762CA
#7762CA is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.7% C 0.155 H 289.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7762CA |
|---|---|
| RGB | rgb(119, 98, 202) |
| HSL | hsl(252, 50%, 59%) |
| HSV | hsv(252, 51%, 79%) |
| CMYK | cmyk(41.1%, 51.5%, 0%, 20.8%) |
| CIE-LAB | lab(48.16, 33.36, -51.45) |
| CIE-LCH | lch(48.16, 61.32, 302.96°) |
| OKLab | oklab(56.67% 0.0526 -0.146) |
| OKLCH | oklch(56.67% 0.155 289.8) |
| XYZ | xyz(22.6332, 16.9209, 57.9392) |
| Luminance | 0.1692 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.16
Slate Blue
#6A5ACD
ΔE00 3.45
Dark Periwinkle
#665FD1
ΔE00 3.63
Iris
#6258C4
ΔE00 4.88
Purpley
#8756E4
ΔE00 5.59
Mediumslateblue
#7B68EE
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7762CA #B5CA62
analogous
#6281CA #7762CA #AB62CA
triadic
#7762CA #CA7762 #62CA77
tetradic
#7762CA #CA6281 #B5CA62 #62CAAB
square
#7762CA #CA6281 #B5CA62 #62CAAB
split-complementary
#7762CA #CAAB62 #81CA62
monochromatic
#3F2D85 #543CB3 #7762CA #9F90D9 #C6BEE9
Accessibility & contrast
On white
4.79
#7762CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#7762CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7762CA
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7762CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7762CA | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3574CE
Deuteranopia (green-blind)
#3770C8
Tritanopia (blue-blind)
#60788D
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7762ca; /* rgb */ color: rgb(119, 98, 202); /* oklch */ color: oklch(56.7% 0.155 289.8);
Tailwind
colors: {
custom: {
50: '#a38fdb',
500: '#7762ca',
950: '#000000',
},
}SCSS
$custom: #7762ca; $custom-light: #a38fdb; $custom-dark: #000000;
JSON
{
"hex": "#7762ca",
"rgb": {
"r": 119,
"g": 98,
"b": 202
},
"hsl": {
"h": 252.115,
"s": 49.524,
"l": 58.824
},
"oklch": {
"l": 0.56671,
"c": 0.15517,
"h": 289.8
},
"luminance": 0.16922
}Semantic roles & 50–950 ramp
primary
#7762CA
secondary
#D0D8AF
accent
#D94FBD
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83