#7A66DC#7A66DC
#7A66DC is a mid, vivid violet. Relative luminance 0.188; OKLCH L 58.8% C 0.173 H 287.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #7A66DC |
|---|---|
| RGB | rgb(122, 102, 220) |
| HSL | hsl(250, 63%, 63%) |
| HSV | hsv(250, 54%, 86%) |
| CMYK | cmyk(44.5%, 53.6%, 0%, 13.7%) |
| CIE-LAB | lab(50.46, 36.82, -58.01) |
| CIE-LCH | lch(50.46, 68.71, 302.41°) |
| OKLab | oklab(58.8% 0.0525 -0.1651) |
| OKLCH | oklch(58.8% 0.173 287.6) |
| XYZ | xyz(25.6920, 18.8066, 69.9726) |
| Luminance | 0.1881 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.67
Dark Periwinkle
#665FD1
ΔE00 4.43
Light Indigo
#6D5ACF
ΔE00 4.68
Purpley
#8756E4
ΔE00 5.07
Slate Blue
#6A5ACD
ΔE00 5.07
Mediumpurple
#9370DB
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A66DC #C8DC66
analogous
#668DDC #7A66DC #B566DC
triadic
#7A66DC #DC7A66 #66DC7A
tetradic
#7A66DC #DC668D #C8DC66 #66DCB5
square
#7A66DC #DC668D #C8DC66 #66DCB5
split-complementary
#7A66DC #DCB566 #8DDC66
monochromatic
#3A25A2 #4F34D1 #7A66DC #A598E7 #D1CAF3
Accessibility & contrast
On white
4.41
#7A66DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#7A66DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A66DC
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A66DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A66DC | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A7BE0
Deuteranopia (green-blind)
#2A75D9
Tritanopia (blue-blind)
#5C8097
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7a66dc; /* rgb */ color: rgb(122, 102, 220); /* oklch */ color: oklch(58.8% 0.173 287.6);
Tailwind
colors: {
custom: {
50: '#a692e7',
500: '#7a66dc',
950: '#000000',
},
}SCSS
$custom: #7a66dc; $custom-light: #a692e7; $custom-dark: #000000;
JSON
{
"hex": "#7a66dc",
"rgb": {
"r": 122,
"g": 102,
"b": 220
},
"hsl": {
"h": 250.169,
"s": 62.766,
"l": 63.137
},
"oklch": {
"l": 0.58801,
"c": 0.17328,
"h": 287.6
},
"luminance": 0.18808
}Semantic roles & 50–950 ramp
primary
#7A66DC
secondary
#DDE4BA
accent
#CB1BAD
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84