#7756CB#7756CB
#7756CB is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.7% C 0.174 H 292.7°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #7756CB |
|---|---|
| RGB | rgb(119, 86, 203) |
| HSL | hsl(257, 53%, 57%) |
| HSV | hsv(257, 58%, 80%) |
| CMYK | cmyk(41.4%, 57.6%, 0%, 20.4%) |
| CIE-LAB | lab(45.48, 40.64, -56.33) |
| CIE-LCH | lch(45.48, 69.46, 305.81°) |
| OKLab | oklab(54.71% 0.0672 -0.1603) |
| OKLCH | oklch(54.71% 0.174 292.7) |
| XYZ | xyz(21.7121, 14.8887, 58.2182) |
| Luminance | 0.1489 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.48
Slate Blue
#6A5ACD
ΔE00 2.92
Iris
#6258C4
ΔE00 4.20
Purpley
#8756E4
ΔE00 4.46
Dark Periwinkle
#665FD1
ΔE00 4.65
Royal Purple
#7851A9
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7756CB #AACB56
analogous
#5670CB #7756CB #B256CB
triadic
#7756CB #CB7756 #56CB77
tetradic
#7756CB #CB5670 #AACB56 #56CBB2
square
#7756CB #CB5670 #AACB56 #56CBB2
split-complementary
#7756CB #CBB256 #70CB56
monochromatic
#40277F #5836AE #7756CB #9D85D9 #C2B4E8
Accessibility & contrast
On white
5.28
#7756CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#7756CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7756CB
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7756CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7756CB | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C6DCF
Deuteranopia (green-blind)
#1C69C8
Tritanopia (blue-blind)
#606F88
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7756cb; /* rgb */ color: rgb(119, 86, 203); /* oklch */ color: oklch(54.7% 0.174 292.7);
Tailwind
colors: {
custom: {
50: '#a387db',
500: '#7756cb',
950: '#000000',
},
}SCSS
$custom: #7756cb; $custom-light: #a387db; $custom-dark: #000000;
JSON
{
"hex": "#7756cb",
"rgb": {
"r": 119,
"g": 86,
"b": 203
},
"hsl": {
"h": 256.923,
"s": 52.941,
"l": 56.667
},
"oklch": {
"l": 0.54707,
"c": 0.17385,
"h": 292.7
},
"luminance": 0.14889
}Semantic roles & 50–950 ramp
primary
#7756CB
secondary
#C9D6A6
accent
#DC4BB3
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83