#B796CD#B796CD
#B796CD is a light, moderate violet. Relative luminance 0.363; OKLCH L 72.2% C 0.086 H 311.5°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #B796CD |
|---|---|
| RGB | rgb(183, 150, 205) |
| HSL | hsl(276, 35%, 70%) |
| HSV | hsv(276, 27%, 80%) |
| CMYK | cmyk(10.7%, 26.8%, 0%, 19.6%) |
| CIE-LAB | lab(66.74, 22.54, -23.62) |
| CIE-LCH | lch(66.74, 32.65, 313.66°) |
| OKLab | oklab(72.21% 0.0569 -0.0644) |
| OKLCH | oklch(72.21% 0.086 311.5) |
| XYZ | xyz(41.4524, 36.2882, 62.5664) |
| Luminance | 0.3629 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 3.03
Lavender
#B39DDB
ΔE00 4.08
Lilac
#C8A2C8
ΔE00 6.30
Lavender (survey)
#C79FEF
ΔE00 6.35
Heather
#A484AC
ΔE00 7.34
Wisteria
#A87DC2
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B796CD #ACCD96
analogous
#9C96CD #B796CD #CD96C8
triadic
#B796CD #CDB796 #96CDB7
tetradic
#B796CD #CD9C96 #ACCD96 #96C8CD
square
#B796CD #CD9C96 #ACCD96 #96C8CD
split-complementary
#B796CD #C8CD96 #96CD9C
monochromatic
#7D4B9E #9B6DB9 #B796CD #D3BFE1 #F0E9F4
Accessibility & contrast
On white
2.54
#B796CD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.26
#B796CD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B796CD
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B796CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B796CD | 1.00 | 2.54 | 8.26 | 8.26 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8DA1CF
Deuteranopia (green-blind)
#94A3CB
Tritanopia (blue-blind)
#B59DA9
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b796cd; /* rgb */ color: rgb(183, 150, 205); /* oklch */ color: oklch(72.2% 0.086 311.5);
Tailwind
colors: {
custom: {
50: '#cdb5dc',
500: '#b796cd',
950: '#000000',
},
}SCSS
$custom: #b796cd; $custom-light: #cdb5dc; $custom-dark: #000000;
JSON
{
"hex": "#b796cd",
"rgb": {
"r": 183,
"g": 150,
"b": 205
},
"hsl": {
"h": 276,
"s": 35.484,
"l": 69.608
},
"oklch": {
"l": 0.72207,
"c": 0.08597,
"h": 311.5
},
"luminance": 0.36288
}Semantic roles & 50–950 ramp
primary
#B796CD
secondary
#DEE7D8
accent
#AE3767
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#131115
muted
#828083