#7662CD#7662CD
#7662CD is a mid, vivid violet. Relative luminance 0.170; OKLCH L 56.8% C 0.159 H 288.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7662CD |
|---|---|
| RGB | rgb(118, 98, 205) |
| HSL | hsl(251, 52%, 59%) |
| HSV | hsv(251, 52%, 80%) |
| CMYK | cmyk(42.4%, 52.2%, 0%, 19.6%) |
| CIE-LAB | lab(48.25, 33.97, -53.03) |
| CIE-LCH | lch(48.25, 62.98, 302.65°) |
| OKLab | oklab(56.78% 0.0516 -0.1506) |
| OKLCH | oklch(56.78% 0.159 288.9) |
| XYZ | xyz(22.8553, 16.9939, 59.8217) |
| Luminance | 0.1699 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.92
Slate Blue
#6A5ACD
ΔE00 3.23
Dark Periwinkle
#665FD1
ΔE00 3.25
Iris
#6258C4
ΔE00 4.78
Mediumslateblue
#7B68EE
ΔE00 5.30
Purpley
#8756E4
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7662CD #B9CD62
analogous
#6284CD #7662CD #AC62CD
triadic
#7662CD #CD7662 #62CD76
tetradic
#7662CD #CD6284 #B9CD62 #62CDAC
square
#7662CD #CD6284 #B9CD62 #62CDAC
split-complementary
#7662CD #CDAC62 #84CD62
monochromatic
#3D2C89 #523AB7 #7662CD #9F90DC #C7BFEB
Accessibility & contrast
On white
4.77
#7662CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#7662CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7662CD
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7662CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7662CD | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3175D1
Deuteranopia (green-blind)
#3270CB
Tritanopia (blue-blind)
#5D798E
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7662cd; /* rgb */ color: rgb(118, 98, 205); /* oklch */ color: oklch(56.8% 0.159 288.9);
Tailwind
colors: {
custom: {
50: '#a28fdd',
500: '#7662cd',
950: '#000000',
},
}SCSS
$custom: #7662cd; $custom-light: #a28fdd; $custom-dark: #000000;
JSON
{
"hex": "#7662cd",
"rgb": {
"r": 118,
"g": 98,
"b": 205
},
"hsl": {
"h": 251.215,
"s": 51.691,
"l": 59.412
},
"oklch": {
"l": 0.56777,
"c": 0.15922,
"h": 288.9
},
"luminance": 0.16995
}Semantic roles & 50–950 ramp
primary
#7662CD
secondary
#D2DAB1
accent
#DB4DC1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83