#B794F9#B794F9
#B794F9 is a light, vivid violet. Relative luminance 0.381; OKLCH L 73.8% C 0.146 H 298.8°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).
Color values
| HEX | #B794F9 |
|---|---|
| RGB | rgb(183, 148, 249) |
| HSL | hsl(261, 89%, 78%) |
| HSV | hsv(261, 41%, 98%) |
| CMYK | cmyk(26.5%, 40.6%, 0%, 2.4%) |
| CIE-LAB | lab(68.08, 33.55, -45.78) |
| CIE-LCH | lch(68.08, 56.76, 306.24°) |
| OKLab | oklab(73.83% 0.0701 -0.1278) |
| OKLCH | oklch(73.83% 0.146 298.8) |
| XYZ | xyz(47.2133, 38.0863, 94.4682) |
| Luminance | 0.3809 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.25
Pastel Purple
#CAA0FF
ΔE00 4.26
Baby Purple
#CA9BF7
ΔE00 4.37
Lilac (survey)
#CEA2FD
ΔE00 5.29
Lavender (survey)
#C79FEF
ΔE00 5.39
Lavender
#B39DDB
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B794F9 #D6F994
analogous
#94A3F9 #B794F9 #E994F9
triadic
#B794F9 #F9B794 #94F9B7
tetradic
#B794F9 #F994A3 #D6F994 #94F9E9
square
#B794F9 #F994A3 #D6F994 #94F9E9
split-complementary
#B794F9 #F9E994 #A3F994
monochromatic
#6920F3 #905AF6 #B794F9 #DECEFC #ECE2FD
Accessibility & contrast
On white
2.44
#B794F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.62
#B794F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B794F9
8.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B794F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B794F9 | 1.00 | 2.44 | 8.62 | 8.62 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#79A6FD
Deuteranopia (green-blind)
#7FA5F6
Tritanopia (blue-blind)
#AAA5BB
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #b794f9; /* rgb */ color: rgb(183, 148, 249); /* oklch */ color: oklch(73.8% 0.146 298.8);
Tailwind
colors: {
custom: {
50: '#ceb4fb',
500: '#b794f9',
950: '#000000',
},
}SCSS
$custom: #b794f9; $custom-light: #ceb4fb; $custom-dark: #000000;
JSON
{
"hex": "#b794f9",
"rgb": {
"r": 183,
"g": 148,
"b": 249
},
"hsl": {
"h": 260.792,
"s": 89.381,
"l": 77.843
},
"oklch": {
"l": 0.73829,
"c": 0.14582,
"h": 298.8
},
"luminance": 0.38087
}Semantic roles & 50–950 ramp
primary
#B794F9
secondary
#EAF5D6
accent
#E60096
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085