#7656CA#7656CA
#7656CA is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.5% C 0.173 H 292.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #7656CA |
|---|---|
| RGB | rgb(118, 86, 202) |
| HSL | hsl(257, 52%, 56%) |
| HSV | hsv(257, 57%, 79%) |
| CMYK | cmyk(41.6%, 57.4%, 0%, 20.8%) |
| CIE-LAB | lab(45.32, 40.14, -56.02) |
| CIE-LCH | lch(45.32, 68.92, 305.63°) |
| OKLab | oklab(54.54% 0.0659 -0.1595) |
| OKLCH | oklch(54.54% 0.173 292.5) |
| XYZ | xyz(21.4568, 14.7708, 57.5862) |
| Luminance | 0.1477 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.39
Slate Blue
#6A5ACD
ΔE00 2.79
Iris
#6258C4
ΔE00 4.00
Dark Periwinkle
#665FD1
ΔE00 4.56
Purpley
#8756E4
ΔE00 4.69
Royal Purple
#7851A9
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7656CA #AACA56
analogous
#5670CA #7656CA #B056CA
triadic
#7656CA #CA7656 #56CA76
tetradic
#7656CA #CA5670 #AACA56 #56CAB0
square
#7656CA #CA5670 #AACA56 #56CAB0
split-complementary
#7656CA #CAB056 #70CA56
monochromatic
#3F287E #5736AD #7656CA #9C85D9 #C2B3E7
Accessibility & contrast
On white
5.31
#7656CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#7656CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7656CA
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7656CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7656CA | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E6DCE
Deuteranopia (green-blind)
#1D69C7
Tritanopia (blue-blind)
#5F6F88
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7656ca; /* rgb */ color: rgb(118, 86, 202); /* oklch */ color: oklch(54.5% 0.173 292.5);
Tailwind
colors: {
custom: {
50: '#a387db',
500: '#7656ca',
950: '#000000',
},
}SCSS
$custom: #7656ca; $custom-light: #a387db; $custom-dark: #000000;
JSON
{
"hex": "#7656ca",
"rgb": {
"r": 118,
"g": 86,
"b": 202
},
"hsl": {
"h": 256.552,
"s": 52.252,
"l": 56.471
},
"oklch": {
"l": 0.54544,
"c": 0.17254,
"h": 292.5
},
"luminance": 0.14771
}Semantic roles & 50–950 ramp
primary
#7656CA
secondary
#C9D6A6
accent
#DC4CB4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83