#7757CB#7757CB
#7757CB is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.9% C 0.172 H 292.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #7757CB |
|---|---|
| RGB | rgb(119, 87, 203) |
| HSL | hsl(257, 53%, 57%) |
| HSV | hsv(257, 57%, 80%) |
| CMYK | cmyk(41.4%, 57.1%, 0%, 20.4%) |
| CIE-LAB | lab(45.70, 40.07, -55.97) |
| CIE-LCH | lch(45.70, 68.84, 305.60°) |
| OKLab | oklab(54.87% 0.066 -0.1593) |
| OKLCH | oklch(54.87% 0.172 292.5) |
| XYZ | xyz(21.7925, 15.0495, 58.2450) |
| Luminance | 0.1505 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.34
Slate Blue
#6A5ACD
ΔE00 2.79
Iris
#6258C4
ΔE00 4.15
Purpley
#8756E4
ΔE00 4.45
Dark Periwinkle
#665FD1
ΔE00 4.47
Royal Purple
#7851A9
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7757CB #ABCB57
analogous
#5771CB #7757CB #B157CB
triadic
#7757CB #CB7757 #57CB77
tetradic
#7757CB #CB5771 #ABCB57 #57CBB1
square
#7757CB #CB5771 #ABCB57 #57CBB1
split-complementary
#7757CB #CBB157 #71CB57
monochromatic
#402880 #5736AF #7757CB #9D86D9 #C3B4E8
Accessibility & contrast
On white
5.24
#7757CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#7757CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7757CB
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7757CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7757CB | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#126ECF
Deuteranopia (green-blind)
#1F6AC8
Tritanopia (blue-blind)
#607089
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7757cb; /* rgb */ color: rgb(119, 87, 203); /* oklch */ color: oklch(54.9% 0.172 292.5);
Tailwind
colors: {
custom: {
50: '#a387db',
500: '#7757cb',
950: '#000000',
},
}SCSS
$custom: #7757cb; $custom-light: #a387db; $custom-dark: #000000;
JSON
{
"hex": "#7757cb",
"rgb": {
"r": 119,
"g": 87,
"b": 203
},
"hsl": {
"h": 256.552,
"s": 52.727,
"l": 56.863
},
"oklch": {
"l": 0.5487,
"c": 0.17243,
"h": 292.5
},
"luminance": 0.1505
}Semantic roles & 50–950 ramp
primary
#7757CB
secondary
#CAD7A7
accent
#DC4CB4
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83