#7660CB#7660CB
#7660CB is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.3% C 0.159 H 289.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #7660CB |
|---|---|
| RGB | rgb(118, 96, 203) |
| HSL | hsl(252, 51%, 59%) |
| HSV | hsv(252, 53%, 80%) |
| CMYK | cmyk(41.9%, 52.7%, 0%, 20.4%) |
| CIE-LAB | lab(47.66, 34.59, -52.83) |
| CIE-LCH | lch(47.66, 63.14, 303.21°) |
| OKLab | oklab(56.3% 0.0539 -0.1501) |
| OKLCH | oklch(56.3% 0.159 289.8) |
| XYZ | xyz(22.4306, 16.5284, 58.4968) |
| Luminance | 0.1653 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.54
Slate Blue
#6A5ACD
ΔE00 2.88
Dark Periwinkle
#665FD1
ΔE00 3.32
Iris
#6258C4
ΔE00 4.41
Purpley
#8756E4
ΔE00 5.25
Mediumslateblue
#7B68EE
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7660CB #B5CB60
analogous
#607FCB #7660CB #AB60CB
triadic
#7660CB #CB7660 #60CB76
tetradic
#7660CB #CB607F #B5CB60 #60CBAB
square
#7660CB #CB607F #B5CB60 #60CBAB
split-complementary
#7660CB #CBAB60 #7FCB60
monochromatic
#3E2C85 #533BB3 #7660CB #9E8EDA #C5BCE9
Accessibility & contrast
On white
4.88
#7660CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#7660CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7660CB
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7660CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7660CB | 1.00 | 4.88 | 4.31 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F73CF
Deuteranopia (green-blind)
#316FC9
Tritanopia (blue-blind)
#5E778C
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7660cb; /* rgb */ color: rgb(118, 96, 203); /* oklch */ color: oklch(56.3% 0.159 289.8);
Tailwind
colors: {
custom: {
50: '#a28ddb',
500: '#7660cb',
950: '#000000',
},
}SCSS
$custom: #7660cb; $custom-light: #a28ddb; $custom-dark: #000000;
JSON
{
"hex": "#7660cb",
"rgb": {
"r": 118,
"g": 96,
"b": 203
},
"hsl": {
"h": 252.336,
"s": 50.711,
"l": 58.627
},
"oklch": {
"l": 0.56297,
"c": 0.15944,
"h": 289.8
},
"luminance": 0.16529
}Semantic roles & 50–950 ramp
primary
#7660CB
secondary
#D0D9AE
accent
#DA4EBD
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83