#B795CF#B795CF
#B795CF is a light, moderate violet. Relative luminance 0.361; OKLCH L 72.1% C 0.090 H 310.8°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #B795CF |
|---|---|
| RGB | rgb(183, 149, 207) |
| HSL | hsl(275, 38%, 70%) |
| HSV | hsv(275, 28%, 81%) |
| CMYK | cmyk(11.6%, 28%, 0%, 18.8%) |
| CIE-LAB | lab(66.57, 23.52, -24.99) |
| CIE-LCH | lch(66.57, 34.32, 313.27°) |
| OKLab | oklab(72.1% 0.059 -0.0683) |
| OKLCH | oklch(72.1% 0.09 310.8) |
| XYZ | xyz(41.5364, 36.0676, 63.7930) |
| Luminance | 0.3607 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 2.33
Lavender
#B39DDB
ΔE00 3.86
Lavender (survey)
#C79FEF
ΔE00 5.91
Lilac
#C8A2C8
ΔE00 6.90
Wisteria
#A87DC2
ΔE00 7.10
Baby Purple
#CA9BF7
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B795CF #ADCF95
analogous
#9A95CF #B795CF #CF95CA
triadic
#B795CF #CFB795 #95CFB7
tetradic
#B795CF #CF9A95 #ADCF95 #95CACF
square
#B795CF #CF9A95 #ADCF95 #95CACF
split-complementary
#B795CF #CACF95 #95CF9A
monochromatic
#7C49A1 #9A6BBC #B795CF #D4BFE2 #F0E9F5
Accessibility & contrast
On white
2.56
#B795CF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.21
#B795CF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B795CF
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B795CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B795CF | 1.00 | 2.56 | 8.21 | 8.21 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8CA0D1
Deuteranopia (green-blind)
#93A3CD
Tritanopia (blue-blind)
#B59CAA
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b795cf; /* rgb */ color: rgb(183, 149, 207); /* oklch */ color: oklch(72.1% 0.090 310.8);
Tailwind
colors: {
custom: {
50: '#cdb4dd',
500: '#b795cf',
950: '#000000',
},
}SCSS
$custom: #b795cf; $custom-light: #cdb4dd; $custom-dark: #000000;
JSON
{
"hex": "#b795cf",
"rgb": {
"r": 183,
"g": 149,
"b": 207
},
"hsl": {
"h": 275.172,
"s": 37.662,
"l": 69.804
},
"oklch": {
"l": 0.72102,
"c": 0.09024,
"h": 310.8
},
"luminance": 0.36067
}Semantic roles & 50–950 ramp
primary
#B795CF
secondary
#DEE8D8
accent
#B13568
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#131115
muted
#828083