#8751CB#8751CB
#8751CB is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.6% C 0.183 H 301.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8751CB |
|---|---|
| RGB | rgb(135, 81, 203) |
| HSL | hsl(267, 54%, 56%) |
| HSV | hsv(267, 60%, 80%) |
| CMYK | cmyk(33.5%, 60.1%, 0%, 20.4%) |
| CIE-LAB | lab(46.11, 47.06, -55.23) |
| CIE-LCH | lch(46.11, 72.56, 310.43°) |
| OKLab | oklab(55.55% 0.0942 -0.1566) |
| OKLCH | oklch(55.55% 0.183 301) |
| XYZ | xyz(23.7110, 15.3474, 58.2015) |
| Luminance | 0.1535 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.11
Deep Lavender
#8D5EB7
ΔE00 5.55
Light Indigo
#6D5ACF
ΔE00 5.81
Royal Purple
#7851A9
ΔE00 5.91
Darkorchid
#9932CC
ΔE00 6.26
Slate Blue
#6A5ACD
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8751CB #95CB51
analogous
#5158CB #8751CB #C451CB
triadic
#8751CB #CB8751 #51CB87
tetradic
#8751CB #CB5158 #95CB51 #51CBC4
square
#8751CB #CB5158 #95CB51 #51CBC4
split-complementary
#8751CB #CBC451 #58CB51
monochromatic
#4C257C #6833AC #8751CB #A780D9 #C8AFE7
Accessibility & contrast
On white
5.16
#8751CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#8751CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8751CB
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8751CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8751CB | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#046DCF
Deuteranopia (green-blind)
#2B6DC8
Tritanopia (blue-blind)
#796B86
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8751cb; /* rgb */ color: rgb(135, 81, 203); /* oklch */ color: oklch(55.6% 0.183 301.0);
Tailwind
colors: {
custom: {
50: '#ae84db',
500: '#8751cb',
950: '#000000',
},
}SCSS
$custom: #8751cb; $custom-light: #ae84db; $custom-dark: #000000;
JSON
{
"hex": "#8751cb",
"rgb": {
"r": 135,
"g": 81,
"b": 203
},
"hsl": {
"h": 266.557,
"s": 53.982,
"l": 55.686
},
"oklch": {
"l": 0.55552,
"c": 0.18277,
"h": 301
},
"luminance": 0.15348
}Semantic roles & 50–950 ramp
primary
#8751CB
secondary
#BFD5A3
accent
#DD4A9C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83