#B97ECC#B97ECC
#B97ECC is a light, vivid purple. Relative luminance 0.296; OKLCH L 68.1% C 0.128 H 317.7°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #B97ECC |
|---|---|
| RGB | rgb(185, 126, 204) |
| HSL | hsl(285, 43%, 65%) |
| HSV | hsv(285, 38%, 80%) |
| CMYK | cmyk(9.3%, 38.2%, 0%, 20%) |
| CIE-LAB | lab(61.30, 36.31, -31.42) |
| CIE-LCH | lch(61.30, 48.02, 319.13°) |
| OKLab | oklab(68.1% 0.0948 -0.0863) |
| OKLCH | oklch(68.1% 0.128 317.7) |
| XYZ | xyz(38.3660, 29.5967, 60.8067) |
| Luminance | 0.2960 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.56
Orchid (survey)
#C875C4
ΔE00 4.43
Pale Purple
#B790D4
ΔE00 5.24
Soft Purple
#A66FB5
ΔE00 5.95
Orchid
#DA70D6
ΔE00 6.65
Lavender Pink
#DD85D7
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B97ECC #91CC7E
analogous
#927ECC #B97ECC #CC7EB8
triadic
#B97ECC #CCB97E #7ECCB9
tetradic
#B97ECC #CC927E #91CC7E #7EB8CC
square
#B97ECC #CC927E #91CC7E #7EB8CC
split-complementary
#B97ECC #B8CC7E #7ECC92
monochromatic
#7F3B95 #A152BB #B97ECC #D1AADD #E9D6EF
Accessibility & contrast
On white
3.04
#B97ECC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.92
#B97ECC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B97ECC
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B97ECC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B97ECC | 1.00 | 3.04 | 6.92 | 6.92 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7290CF
Deuteranopia (green-blind)
#8196CA
Tritanopia (blue-blind)
#B9889B
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #b97ecc; /* rgb */ color: rgb(185, 126, 204); /* oklch */ color: oklch(68.1% 0.128 317.7);
Tailwind
colors: {
custom: {
50: '#cfa4db',
500: '#b97ecc',
950: '#000000',
},
}SCSS
$custom: #b97ecc; $custom-light: #cfa4db; $custom-dark: #000000;
JSON
{
"hex": "#b97ecc",
"rgb": {
"r": 185,
"g": 126,
"b": 204
},
"hsl": {
"h": 285.385,
"s": 43.333,
"l": 64.706
},
"oklch": {
"l": 0.68104,
"c": 0.1282,
"h": 317.7
},
"luminance": 0.29596
}Semantic roles & 50–950 ramp
primary
#B97ECC
secondary
#CCE0C6
accent
#B62F50
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83