#B795CA#B795CA
#B795CA is a light, moderate violet. Relative luminance 0.358; OKLCH L 71.9% C 0.084 H 313.2°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #B795CA |
|---|---|
| RGB | rgb(183, 149, 202) |
| HSL | hsl(278, 33%, 69%) |
| HSV | hsv(278, 26%, 79%) |
| CMYK | cmyk(9.4%, 26.2%, 0%, 20.8%) |
| CIE-LAB | lab(66.39, 22.47, -22.49) |
| CIE-LCH | lch(66.39, 31.79, 314.98°) |
| OKLab | oklab(71.9% 0.0575 -0.0612) |
| OKLCH | oklch(71.9% 0.084 313.2) |
| XYZ | xyz(40.9348, 35.8270, 60.6245) |
| Luminance | 0.3583 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 3.42
Lavender
#B39DDB
ΔE00 4.75
Lilac
#C8A2C8
ΔE00 5.95
Heather
#A484AC
ΔE00 6.81
Lavender (survey)
#C79FEF
ΔE00 6.96
Wisteria
#A87DC2
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B795CA #A8CA95
analogous
#9D95CA #B795CA #CA95C3
triadic
#B795CA #CAB795 #95CAB7
tetradic
#B795CA #CA9D95 #A8CA95 #95C3CA
square
#B795CA #CA9D95 #A8CA95 #95C3CA
split-complementary
#B795CA #C3CA95 #95CA9D
monochromatic
#7D4C98 #9B6CB6 #B795CA #D3BEDE #EEE7F3
Accessibility & contrast
On white
2.57
#B795CA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.17
#B795CA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B795CA
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B795CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B795CA | 1.00 | 2.57 | 8.17 | 8.17 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8DA0CC
Deuteranopia (green-blind)
#94A2C8
Tritanopia (blue-blind)
#B69BA8
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #b795ca; /* rgb */ color: rgb(183, 149, 202); /* oklch */ color: oklch(71.9% 0.084 313.2);
Tailwind
colors: {
custom: {
50: '#cdb4da',
500: '#b795ca',
950: '#000000',
},
}SCSS
$custom: #b795ca; $custom-light: #cdb4da; $custom-dark: #000000;
JSON
{
"hex": "#b795ca",
"rgb": {
"r": 183,
"g": 149,
"b": 202
},
"hsl": {
"h": 278.491,
"s": 33.333,
"l": 68.824
},
"oklch": {
"l": 0.719,
"c": 0.08402,
"h": 313.2
},
"luminance": 0.35826
}Semantic roles & 50–950 ramp
primary
#B795CA
secondary
#DBE5D6
accent
#AC3963
background
#FCFBFD
surface
#F9F6FA
border
#D2D0D3
text
#131114
muted
#828083