#BB8EDC#BB8EDC
#BB8EDC is a light, vivid violet. Relative luminance 0.351; OKLCH L 71.8% C 0.120 H 310.0°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #BB8EDC |
|---|---|
| RGB | rgb(187, 142, 220) |
| HSL | hsl(275, 53%, 71%) |
| HSV | hsv(275, 35%, 86%) |
| CMYK | cmyk(15%, 35.5%, 0%, 13.7%) |
| CIE-LAB | lab(65.81, 31.45, -33.35) |
| CIE-LCH | lch(65.81, 45.84, 313.32°) |
| OKLab | oklab(71.78% 0.0773 -0.0919) |
| OKLCH | oklch(71.78% 0.12 310) |
| XYZ | xyz(43.0825, 35.0786, 72.1975) |
| Luminance | 0.3508 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 1.96
Lavender (survey)
#C79FEF
ΔE00 4.80
Baby Purple
#CA9BF7
ΔE00 5.01
Lavender
#B39DDB
ΔE00 5.49
Liliac
#C48EFD
ΔE00 5.69
Wisteria
#A87DC2
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB8EDC #AFDC8E
analogous
#948EDC #BB8EDC #DC8ED6
triadic
#BB8EDC #DCBB8E #8EDCBB
tetradic
#BB8EDC #DC948E #AFDC8E #8ED6DC
square
#BB8EDC #DC948E #AFDC8E #8ED6DC
split-complementary
#BB8EDC #D6DC8E #8EDC94
monochromatic
#8239B7 #9F5FCE #BB8EDC #D7BDEA #F1E8F8
Accessibility & contrast
On white
2.62
#BB8EDC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.02
#BB8EDC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BB8EDC
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB8EDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BB8EDC | 1.00 | 2.62 | 8.02 | 8.02 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F9EDF
Deuteranopia (green-blind)
#8AA1DA
Tritanopia (blue-blind)
#B799AB
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #bb8edc; /* rgb */ color: rgb(187, 142, 220); /* oklch */ color: oklch(71.8% 0.120 310.0);
Tailwind
colors: {
custom: {
50: '#d0afe7',
500: '#bb8edc',
950: '#000000',
},
}SCSS
$custom: #bb8edc; $custom-light: #d0afe7; $custom-dark: #000000;
JSON
{
"hex": "#bb8edc",
"rgb": {
"r": 187,
"g": 142,
"b": 220
},
"hsl": {
"h": 274.615,
"s": 52.703,
"l": 70.98
},
"oklch": {
"l": 0.71779,
"c": 0.12009,
"h": 310
},
"luminance": 0.35078
}Semantic roles & 50–950 ramp
primary
#BB8EDC
secondary
#E1EDD9
accent
#C02567
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#141016
muted
#827F84