#7656CB#7656CB
#7656CB is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.6% C 0.174 H 292.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #7656CB |
|---|---|
| RGB | rgb(118, 86, 203) |
| HSL | hsl(256, 53%, 57%) |
| HSV | hsv(256, 58%, 80%) |
| CMYK | cmyk(41.9%, 57.6%, 0%, 20.4%) |
| CIE-LAB | lab(45.38, 40.42, -56.49) |
| CIE-LCH | lch(45.38, 69.46, 305.59°) |
| OKLab | oklab(54.61% 0.0659 -0.1608) |
| OKLCH | oklch(54.61% 0.174 292.3) |
| XYZ | xyz(21.5756, 14.8183, 58.2118) |
| Luminance | 0.1482 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.32
Slate Blue
#6A5ACD
ΔE00 2.74
Iris
#6258C4
ΔE00 4.01
Dark Periwinkle
#665FD1
ΔE00 4.50
Purpley
#8756E4
ΔE00 4.57
Royal Purple
#7851A9
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7656CB #ABCB56
analogous
#5671CB #7656CB #B056CB
triadic
#7656CB #CB7656 #56CB76
tetradic
#7656CB #CB5671 #ABCB56 #56CBB0
square
#7656CB #CB5671 #ABCB56 #56CBB0
split-complementary
#7656CB #CBB056 #71CB56
monochromatic
#3F277F #5736AE #7656CB #9C85D9 #C2B4E8
Accessibility & contrast
On white
5.30
#7656CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#7656CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7656CB
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7656CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7656CB | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B6DCF
Deuteranopia (green-blind)
#1A69C8
Tritanopia (blue-blind)
#5F7088
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7656cb; /* rgb */ color: rgb(118, 86, 203); /* oklch */ color: oklch(54.6% 0.174 292.3);
Tailwind
colors: {
custom: {
50: '#a387db',
500: '#7656cb',
950: '#000000',
},
}SCSS
$custom: #7656cb; $custom-light: #a387db; $custom-dark: #000000;
JSON
{
"hex": "#7656cb",
"rgb": {
"r": 118,
"g": 86,
"b": 203
},
"hsl": {
"h": 256.41,
"s": 52.941,
"l": 56.667
},
"oklch": {
"l": 0.54613,
"c": 0.17381,
"h": 292.3
},
"luminance": 0.14819
}Semantic roles & 50–950 ramp
primary
#7656CB
secondary
#C9D6A6
accent
#DC4BB5
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83