#7762CF#7762CF
#7762CF is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.0% C 0.162 H 289.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7762CF |
|---|---|
| RGB | rgb(119, 98, 207) |
| HSL | hsl(252, 53%, 60%) |
| HSV | hsv(252, 53%, 81%) |
| CMYK | cmyk(42.5%, 52.7%, 0%, 18.8%) |
| CIE-LAB | lab(48.46, 34.78, -53.83) |
| CIE-LCH | lch(48.46, 64.09, 302.87°) |
| OKLab | oklab(56.99% 0.0529 -0.153) |
| OKLCH | oklch(56.99% 0.162 289.1) |
| XYZ | xyz(23.2348, 17.1615, 61.1077) |
| Luminance | 0.1716 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.99
Slate Blue
#6A5ACD
ΔE00 3.35
Dark Periwinkle
#665FD1
ΔE00 3.36
Iris
#6258C4
ΔE00 4.99
Mediumslateblue
#7B68EE
ΔE00 5.00
Purpley
#8756E4
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7762CF #BACF62
analogous
#6283CF #7762CF #AE62CF
triadic
#7762CF #CF7762 #62CF77
tetradic
#7762CF #CF6283 #BACF62 #62CFAE
square
#7762CF #CF6283 #BACF62 #62CFAE
split-complementary
#7762CF #CFAE62 #83CF62
monochromatic
#3D2B8C #5239BB #7762CF #A091DD #C8C0EC
Accessibility & contrast
On white
4.74
#7762CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#7762CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7762CF
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7762CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7762CF | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F75D3
Deuteranopia (green-blind)
#3170CD
Tritanopia (blue-blind)
#5D798F
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7762cf; /* rgb */ color: rgb(119, 98, 207); /* oklch */ color: oklch(57.0% 0.162 289.1);
Tailwind
colors: {
custom: {
50: '#a38fde',
500: '#7762cf',
950: '#000000',
},
}SCSS
$custom: #7762cf; $custom-light: #a38fde; $custom-dark: #000000;
JSON
{
"hex": "#7762cf",
"rgb": {
"r": 119,
"g": 98,
"b": 207
},
"hsl": {
"h": 251.56,
"s": 53.171,
"l": 59.804
},
"oklch": {
"l": 0.56994,
"c": 0.16187,
"h": 289.1
},
"luminance": 0.17162
}Semantic roles & 50–950 ramp
primary
#7762CF
secondary
#D3DBB1
accent
#DD4BC1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83