#B795FC#B795FC
#B795FC is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.2% C 0.148 H 297.9°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #B795FC |
|---|---|
| RGB | rgb(183, 149, 252) |
| HSL | hsl(260, 94%, 79%) |
| HSV | hsv(260, 41%, 99%) |
| CMYK | cmyk(27.4%, 40.9%, 0%, 1.2%) |
| CIE-LAB | lab(68.45, 33.71, -46.84) |
| CIE-LCH | lch(68.45, 57.71, 305.75°) |
| OKLab | oklab(74.15% 0.0693 -0.1309) |
| OKLCH | oklch(74.15% 0.148 297.9) |
| XYZ | xyz(47.8424, 38.5900, 97.0047) |
| Luminance | 0.3859 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.48
Pastel Purple
#CAA0FF
ΔE00 4.28
Baby Purple
#CA9BF7
ΔE00 4.59
Lilac (survey)
#CEA2FD
ΔE00 5.36
Lavender (survey)
#C79FEF
ΔE00 5.65
Lavender
#B39DDB
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B795FC #DAFC95
analogous
#95A6FC #B795FC #EA95FC
triadic
#B795FC #FCB795 #95FCB7
tetradic
#B795FC #FC95A6 #DAFC95 #95FCEA
square
#B795FC #FC95A6 #DAFC95 #95FCEA
split-complementary
#B795FC #FCEA95 #A6FC95
monochromatic
#661EF9 #8F59FA #B795FC #DFD1FE #EBE1FE
Accessibility & contrast
On white
2.41
#B795FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.72
#B795FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B795FC
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B795FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B795FC | 1.00 | 2.41 | 8.72 | 8.72 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#78A7FF
Deuteranopia (green-blind)
#7FA6F9
Tritanopia (blue-blind)
#A9A7BC
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b795fc; /* rgb */ color: rgb(183, 149, 252); /* oklch */ color: oklch(74.2% 0.148 297.9);
Tailwind
colors: {
custom: {
50: '#cfb4fe',
500: '#b795fc',
950: '#000000',
},
}SCSS
$custom: #b795fc; $custom-light: #cfb4fe; $custom-dark: #000000;
JSON
{
"hex": "#b795fc",
"rgb": {
"r": 183,
"g": 149,
"b": 252
},
"hsl": {
"h": 259.806,
"s": 94.495,
"l": 78.627
},
"oklch": {
"l": 0.74153,
"c": 0.14813,
"h": 297.9
},
"luminance": 0.3859
}Semantic roles & 50–950 ramp
primary
#B795FC
secondary
#EBF6D5
accent
#E6009A
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086