#7758CB#7758CB
#7758CB is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.0% C 0.171 H 292.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #7758CB |
|---|---|
| RGB | rgb(119, 88, 203) |
| HSL | hsl(256, 53%, 57%) |
| HSV | hsv(256, 57%, 80%) |
| CMYK | cmyk(41.4%, 56.7%, 0%, 20.4%) |
| CIE-LAB | lab(45.92, 39.49, -55.61) |
| CIE-LCH | lch(45.92, 68.21, 305.38°) |
| OKLab | oklab(55.03% 0.0648 -0.1582) |
| OKLCH | oklch(55.03% 0.171 292.3) |
| XYZ | xyz(21.8740, 15.2126, 58.2722) |
| Luminance | 0.1521 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.23
Slate Blue
#6A5ACD
ΔE00 2.70
Iris
#6258C4
ΔE00 4.11
Dark Periwinkle
#665FD1
ΔE00 4.29
Purpley
#8756E4
ΔE00 4.45
Royal Purple
#7851A9
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7758CB #ACCB58
analogous
#5873CB #7758CB #B158CB
triadic
#7758CB #CB7758 #58CB77
tetradic
#7758CB #CB5873 #ACCB58 #58CBB1
square
#7758CB #CB5873 #ACCB58 #58CBB1
split-complementary
#7758CB #CBB158 #73CB58
monochromatic
#402881 #5737AF #7758CB #9D87DA #C3B5E8
Accessibility & contrast
On white
5.19
#7758CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#7758CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7758CB
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7758CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7758CB | 1.00 | 5.19 | 4.04 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#176ECF
Deuteranopia (green-blind)
#226BC8
Tritanopia (blue-blind)
#607189
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7758cb; /* rgb */ color: rgb(119, 88, 203); /* oklch */ color: oklch(55.0% 0.171 292.3);
Tailwind
colors: {
custom: {
50: '#a388db',
500: '#7758cb',
950: '#000000',
},
}SCSS
$custom: #7758cb; $custom-light: #a388db; $custom-dark: #000000;
JSON
{
"hex": "#7758cb",
"rgb": {
"r": 119,
"g": 88,
"b": 203
},
"hsl": {
"h": 256.174,
"s": 52.511,
"l": 57.059
},
"oklch": {
"l": 0.55033,
"c": 0.171,
"h": 292.3
},
"luminance": 0.15213
}Semantic roles & 50–950 ramp
primary
#7758CB
secondary
#CAD7A8
accent
#DC4CB5
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83