#7A66CD#7A66CD
#7A66CD is a mid, vivid violet. Relative luminance 0.180; OKLCH L 57.8% C 0.153 H 289.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7A66CD |
|---|---|
| RGB | rgb(122, 102, 205) |
| HSL | hsl(252, 51%, 60%) |
| HSV | hsv(252, 50%, 80%) |
| CMYK | cmyk(40.5%, 50.2%, 0%, 19.6%) |
| CIE-LAB | lab(49.55, 32.56, -50.92) |
| CIE-LCH | lch(49.55, 60.44, 302.60°) |
| OKLab | oklab(57.83% 0.0516 -0.1443) |
| OKLCH | oklch(57.83% 0.153 289.7) |
| XYZ | xyz(23.7938, 18.0474, 59.9756) |
| Luminance | 0.1805 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.38
Dark Periwinkle
#665FD1
ΔE00 4.40
Slate Blue
#6A5ACD
ΔE00 4.67
Mediumslateblue
#7B68EE
ΔE00 4.96
Purpley
#8756E4
ΔE00 5.89
Mediumpurple
#9370DB
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A66CD #B9CD66
analogous
#6686CD #7A66CD #AD66CD
triadic
#7A66CD #CD7A66 #66CD7A
tetradic
#7A66CD #CD6686 #B9CD66 #66CDAD
square
#7A66CD #CD6686 #B9CD66 #66CDAD
split-complementary
#7A66CD #CDAD66 #86CD66
monochromatic
#402D8B #553DB9 #7A66CD #A294DC #CAC2EB
Accessibility & contrast
On white
4.56
#7A66CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#7A66CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A66CD
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A66CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A66CD | 1.00 | 4.56 | 4.61 | 4.61 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B78D1
Deuteranopia (green-blind)
#3D73CB
Tritanopia (blue-blind)
#637B90
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7a66cd; /* rgb */ color: rgb(122, 102, 205); /* oklch */ color: oklch(57.8% 0.153 289.7);
Tailwind
colors: {
custom: {
50: '#a592dd',
500: '#7a66cd',
950: '#000000',
},
}SCSS
$custom: #7a66cd; $custom-light: #a592dd; $custom-dark: #000000;
JSON
{
"hex": "#7a66cd",
"rgb": {
"r": 122,
"g": 102,
"b": 205
},
"hsl": {
"h": 251.65,
"s": 50.739,
"l": 60.196
},
"oklch": {
"l": 0.57834,
"c": 0.15328,
"h": 289.7
},
"luminance": 0.18048
}Semantic roles & 50–950 ramp
primary
#7A66CD
secondary
#D3DBB4
accent
#BE27A1
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83