#7662CB#7662CB
#7662CB is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.6% C 0.157 H 289.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7662CB |
|---|---|
| RGB | rgb(118, 98, 203) |
| HSL | hsl(251, 50%, 59%) |
| HSV | hsv(251, 52%, 80%) |
| CMYK | cmyk(41.9%, 51.7%, 0%, 20.4%) |
| CIE-LAB | lab(48.13, 33.40, -52.07) |
| CIE-LCH | lch(48.13, 61.87, 302.68°) |
| OKLab | oklab(56.65% 0.0514 -0.1478) |
| OKLCH | oklch(56.65% 0.157 289.2) |
| XYZ | xyz(22.6154, 16.8980, 58.5584) |
| Luminance | 0.1690 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.00
Slate Blue
#6A5ACD
ΔE00 3.28
Dark Periwinkle
#665FD1
ΔE00 3.37
Iris
#6258C4
ΔE00 4.74
Mediumslateblue
#7B68EE
ΔE00 5.59
Purpley
#8756E4
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7662CB #B7CB62
analogous
#6283CB #7662CB #AB62CB
triadic
#7662CB #CB7662 #62CB76
tetradic
#7662CB #CB6283 #B7CB62 #62CBAB
square
#7662CB #CB6283 #B7CB62 #62CBAB
split-complementary
#7662CB #CBAB62 #83CB62
monochromatic
#3E2C86 #533CB4 #7662CB #9E90DA #C6BEE9
Accessibility & contrast
On white
4.79
#7662CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#7662CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7662CB
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7662CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7662CB | 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)
#3474CF
Deuteranopia (green-blind)
#3570C9
Tritanopia (blue-blind)
#5E788D
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7662cb; /* rgb */ color: rgb(118, 98, 203); /* oklch */ color: oklch(56.6% 0.157 289.2);
Tailwind
colors: {
custom: {
50: '#a28fdb',
500: '#7662cb',
950: '#000000',
},
}SCSS
$custom: #7662cb; $custom-light: #a28fdb; $custom-dark: #000000;
JSON
{
"hex": "#7662cb",
"rgb": {
"r": 118,
"g": 98,
"b": 203
},
"hsl": {
"h": 251.429,
"s": 50.239,
"l": 59.02
},
"oklch": {
"l": 0.56647,
"c": 0.15653,
"h": 289.2
},
"luminance": 0.16899
}Semantic roles & 50–950 ramp
primary
#7662CB
secondary
#D1D9B0
accent
#DA4EBF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83