#B797CA#B797CA
#B797CA is a light, moderate violet. Relative luminance 0.365; OKLCH L 72.3% C 0.080 H 312.7°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #B797CA |
|---|---|
| RGB | rgb(183, 151, 202) |
| HSL | hsl(278, 32%, 69%) |
| HSV | hsv(278, 25%, 79%) |
| CMYK | cmyk(9.4%, 25.2%, 0%, 20.8%) |
| CIE-LAB | lab(66.87, 21.35, -21.75) |
| CIE-LCH | lch(66.87, 30.48, 314.48°) |
| OKLab | oklab(72.27% 0.0546 -0.0592) |
| OKLCH | oklch(72.27% 0.08 312.7) |
| XYZ | xyz(41.2540, 36.4653, 60.7309) |
| Luminance | 0.3646 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 3.97
Lavender
#B39DDB
ΔE00 4.62
Lilac
#C8A2C8
ΔE00 5.52
Heather
#A484AC
ΔE00 6.99
Lavender (survey)
#C79FEF
ΔE00 7.09
Plum
#DDA0DD
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B797CA #AACA97
analogous
#9E97CA #B797CA #CA97C4
triadic
#B797CA #CAB797 #97CAB7
tetradic
#B797CA #CA9E97 #AACA97 #97C4CA
square
#B797CA #CA9E97 #AACA97 #97C4CA
split-complementary
#B797CA #C4CA97 #97CA9E
monochromatic
#7D4E99 #9B6EB5 #B797CA #D3C0DF #EFE8F3
Accessibility & contrast
On white
2.53
#B797CA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.29
#B797CA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B797CA
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B797CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B797CA | 1.00 | 2.53 | 8.29 | 8.29 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#90A1CC
Deuteranopia (green-blind)
#96A4C8
Tritanopia (blue-blind)
#B69DA9
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b797ca; /* rgb */ color: rgb(183, 151, 202); /* oklch */ color: oklch(72.3% 0.080 312.7);
Tailwind
colors: {
custom: {
50: '#cdb5da',
500: '#b797ca',
950: '#000000',
},
}SCSS
$custom: #b797ca; $custom-light: #cdb5da; $custom-dark: #000000;
JSON
{
"hex": "#b797ca",
"rgb": {
"r": 183,
"g": 151,
"b": 202
},
"hsl": {
"h": 277.647,
"s": 32.484,
"l": 69.216
},
"oklch": {
"l": 0.72274,
"c": 0.08048,
"h": 312.7
},
"luminance": 0.36465
}Semantic roles & 50–950 ramp
primary
#B797CA
secondary
#DDE6D7
accent
#AB3A64
background
#FCFBFD
surface
#F9F6FA
border
#D2D0D3
text
#131114
muted
#828083