#B19DF2#B19DF2
#B19DF2 is a light, vivid violet. Relative luminance 0.399; OKLCH L 74.6% C 0.122 H 294.1°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #B19DF2 |
|---|---|
| RGB | rgb(177, 157, 242) |
| HSL | hsl(254, 77%, 78%) |
| HSV | hsv(254, 35%, 95%) |
| CMYK | cmyk(26.9%, 35.1%, 0%, 5.1%) |
| CIE-LAB | lab(69.38, 25.16, -39.97) |
| CIE-LCH | lch(69.38, 47.23, 302.19°) |
| OKLab | oklab(74.59% 0.0496 -0.1112) |
| OKLCH | oklch(74.59% 0.122 294.1) |
| XYZ | xyz(46.2116, 39.8712, 89.2484) |
| Luminance | 0.3987 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 4.96
Lavender
#B39DDB
ΔE00 5.09
Lavender (survey)
#C79FEF
ΔE00 5.32
Baby Purple
#CA9BF7
ΔE00 5.57
Lilac (survey)
#CEA2FD
ΔE00 5.74
Liliac
#C48EFD
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B19DF2 #DEF29D
analogous
#9DB3F2 #B19DF2 #DC9DF2
triadic
#B19DF2 #F2B19D #9DF2B1
tetradic
#B19DF2 #F29DB3 #DEF29D #9DF2DC
square
#B19DF2 #F29DB3 #DEF29D #9DF2DC
split-complementary
#B19DF2 #F2DC9D #B3F29D
monochromatic
#5B31E4 #8667EB #B19DF2 #DCD3F9 #E9E4FB
Accessibility & contrast
On white
2.34
#B19DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.97
#B19DF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B19DF2
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B19DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B19DF2 | 1.00 | 2.34 | 8.97 | 8.97 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86AAF5
Deuteranopia (green-blind)
#89A8F0
Tritanopia (blue-blind)
#A3ACBC
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #b19df2; /* rgb */ color: rgb(177, 157, 242); /* oklch */ color: oklch(74.6% 0.122 294.1);
Tailwind
colors: {
custom: {
50: '#cabaf6',
500: '#b19df2',
950: '#000000',
},
}SCSS
$custom: #b19df2; $custom-light: #cabaf6; $custom-dark: #000000;
JSON
{
"hex": "#b19df2",
"rgb": {
"r": 177,
"g": 157,
"b": 242
},
"hsl": {
"h": 254.118,
"s": 76.577,
"l": 78.235
},
"oklch": {
"l": 0.74586,
"c": 0.12177,
"h": 294.1
},
"luminance": 0.39872
}Semantic roles & 50–950 ramp
primary
#B19DF2
secondary
#EDF3D8
accent
#D90DA9
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131117
muted
#828085