#7D66CB#7D66CB
#7D66CB is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.0% C 0.151 H 291.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7D66CB |
|---|---|
| RGB | rgb(125, 102, 203) |
| HSL | hsl(254, 49%, 60%) |
| HSV | hsv(254, 50%, 80%) |
| CMYK | cmyk(38.4%, 49.8%, 0%, 20.4%) |
| CIE-LAB | lab(49.71, 32.75, -49.52) |
| CIE-LCH | lch(49.71, 59.37, 303.48°) |
| OKLab | oklab(57.98% 0.0551 -0.1401) |
| OKLCH | oklch(57.98% 0.151 291.5) |
| XYZ | xyz(23.9854, 18.1739, 58.7325) |
| Luminance | 0.1817 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.81
Dark Periwinkle
#665FD1
ΔE00 5.07
Slate Blue
#6A5ACD
ΔE00 5.13
Mediumslateblue
#7B68EE
ΔE00 5.39
Mediumpurple
#9370DB
ΔE00 5.54
Purpley
#8756E4
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D66CB #B4CB66
analogous
#6682CB #7D66CB #AF66CB
triadic
#7D66CB #CB7D66 #66CB7D
tetradic
#7D66CB #CB6682 #B4CB66 #66CBAF
square
#7D66CB #CB6682 #B4CB66 #66CBAF
split-complementary
#7D66CB #CBAF66 #82CB66
monochromatic
#432E88 #593EB6 #7D66CB #A494DB #CBC1EA
Accessibility & contrast
On white
4.53
#7D66CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#7D66CB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D66CB
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D66CB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D66CB | 1.00 | 4.53 | 4.64 | 4.64 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E78CF
Deuteranopia (green-blind)
#4174C9
Tritanopia (blue-blind)
#697A8F
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7d66cb; /* rgb */ color: rgb(125, 102, 203); /* oklch */ color: oklch(58.0% 0.151 291.5);
Tailwind
colors: {
custom: {
50: '#a692db',
500: '#7d66cb',
950: '#000000',
},
}SCSS
$custom: #7d66cb; $custom-light: #a692db; $custom-dark: #000000;
JSON
{
"hex": "#7d66cb",
"rgb": {
"r": 125,
"g": 102,
"b": 203
},
"hsl": {
"h": 253.663,
"s": 49.268,
"l": 59.804
},
"oklch": {
"l": 0.57976,
"c": 0.15059,
"h": 291.5
},
"luminance": 0.18175
}Semantic roles & 50–950 ramp
primary
#7D66CB
secondary
#D1DAB3
accent
#D94FB9
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83