#8757CB#8757CB
#8757CB is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.5% C 0.174 H 299.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8757CB |
|---|---|
| RGB | rgb(135, 87, 203) |
| HSL | hsl(265, 53%, 57%) |
| HSV | hsv(265, 57%, 80%) |
| CMYK | cmyk(33.5%, 57.1%, 0%, 20.4%) |
| CIE-LAB | lab(47.34, 43.79, -53.25) |
| CIE-LCH | lch(47.34, 68.95, 309.43°) |
| OKLab | oklab(56.45% 0.0869 -0.1508) |
| OKLCH | oklch(56.45% 0.174 299.9) |
| XYZ | xyz(24.1768, 16.2789, 58.3567) |
| Luminance | 0.1628 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.76
Deep Lavender
#8D5EB7
ΔE00 4.68
Light Indigo
#6D5ACF
ΔE00 5.37
Amethyst
#9B5FC0
ΔE00 5.80
Slate Blue
#6A5ACD
ΔE00 5.89
Royal Purple
#7851A9
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8757CB #9BCB57
analogous
#5761CB #8757CB #C157CB
triadic
#8757CB #CB8757 #57CB87
tetradic
#8757CB #CB5761 #9BCB57 #57CBC1
square
#8757CB #CB5761 #9BCB57 #57CBC1
split-complementary
#8757CB #CBC157 #61CB57
monochromatic
#4C2880 #6836AF #8757CB #A886D9 #CAB4E8
Accessibility & contrast
On white
4.93
#8757CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#8757CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8757CB
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8757CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8757CB | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2170CF
Deuteranopia (green-blind)
#346FC8
Tritanopia (blue-blind)
#796F89
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8757cb; /* rgb */ color: rgb(135, 87, 203); /* oklch */ color: oklch(56.5% 0.174 299.9);
Tailwind
colors: {
custom: {
50: '#ae88db',
500: '#8757cb',
950: '#000000',
},
}SCSS
$custom: #8757cb; $custom-light: #ae88db; $custom-dark: #000000;
JSON
{
"hex": "#8757cb",
"rgb": {
"r": 135,
"g": 87,
"b": 203
},
"hsl": {
"h": 264.828,
"s": 52.727,
"l": 56.863
},
"oklch": {
"l": 0.56453,
"c": 0.17404,
"h": 299.9
},
"luminance": 0.16279
}Semantic roles & 50–950 ramp
primary
#8757CB
secondary
#C3D7A7
accent
#DC4CA0
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83