#B797CD#B797CD
#B797CD is a light, moderate violet. Relative luminance 0.366; OKLCH L 72.4% C 0.084 H 311.2°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #B797CD |
|---|---|
| RGB | rgb(183, 151, 205) |
| HSL | hsl(276, 35%, 70%) |
| HSV | hsv(276, 26%, 80%) |
| CMYK | cmyk(10.7%, 26.3%, 0%, 19.6%) |
| CIE-LAB | lab(66.98, 21.98, -23.25) |
| CIE-LCH | lch(66.98, 31.99, 313.39°) |
| OKLab | oklab(72.39% 0.0554 -0.0634) |
| OKLCH | oklch(72.39% 0.084 311.2) |
| XYZ | xyz(41.6126, 36.6087, 62.6198) |
| Luminance | 0.3661 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 3.33
Lavender
#B39DDB
ΔE00 3.99
Lilac
#C8A2C8
ΔE00 6.10
Lavender (survey)
#C79FEF
ΔE00 6.41
Heather
#A484AC
ΔE00 7.43
Plum
#DDA0DD
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B797CD #ADCD97
analogous
#9C97CD #B797CD #CD97C8
triadic
#B797CD #CDB797 #97CDB7
tetradic
#B797CD #CD9C97 #ADCD97 #97C8CD
square
#B797CD #CD9C97 #ADCD97 #97C8CD
split-complementary
#B797CD #C8CD97 #97CD9C
monochromatic
#7C4C9E #9A6EB9 #B797CD #D4C0E1 #F0EAF5
Accessibility & contrast
On white
2.52
#B797CD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.32
#B797CD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B797CD
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B797CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B797CD | 1.00 | 2.52 | 8.32 | 8.32 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8FA1CF
Deuteranopia (green-blind)
#95A4CB
Tritanopia (blue-blind)
#B59EAA
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b797cd; /* rgb */ color: rgb(183, 151, 205); /* oklch */ color: oklch(72.4% 0.084 311.2);
Tailwind
colors: {
custom: {
50: '#cdb5dc',
500: '#b797cd',
950: '#000000',
},
}SCSS
$custom: #b797cd; $custom-light: #cdb5dc; $custom-dark: #000000;
JSON
{
"hex": "#b797cd",
"rgb": {
"r": 183,
"g": 151,
"b": 205
},
"hsl": {
"h": 275.556,
"s": 35.065,
"l": 69.804
},
"oklch": {
"l": 0.72393,
"c": 0.08421,
"h": 311.2
},
"luminance": 0.36608
}Semantic roles & 50–950 ramp
primary
#B797CD
secondary
#DEE8D8
accent
#AE3868
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#131115
muted
#828083