#B29CF2#B29CF2
#B29CF2 is a light, vivid violet. Relative luminance 0.397; OKLCH L 74.5% C 0.123 H 295.0°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #B29CF2 |
|---|---|
| RGB | rgb(178, 156, 242) |
| HSL | hsl(255, 77%, 78%) |
| HSV | hsv(255, 36%, 95%) |
| CMYK | cmyk(26.4%, 35.5%, 0%, 5.1%) |
| CIE-LAB | lab(69.22, 26.00, -40.21) |
| CIE-LCH | lch(69.22, 47.88, 302.89°) |
| OKLab | oklab(74.49% 0.0521 -0.1118) |
| OKLCH | oklch(74.49% 0.123 295) |
| XYZ | xyz(46.2717, 39.6522, 89.2030) |
| Luminance | 0.3965 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 4.68
Lavender (survey)
#C79FEF
ΔE00 5.05
Lavender
#B39DDB
ΔE00 5.06
Baby Purple
#CA9BF7
ΔE00 5.21
Lilac (survey)
#CEA2FD
ΔE00 5.48
Liliac
#C48EFD
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B29CF2 #DCF29C
analogous
#9CB1F2 #B29CF2 #DD9CF2
triadic
#B29CF2 #F2B29C #9CF2B2
tetradic
#B29CF2 #F29CB1 #DCF29C #9CF2DD
square
#B29CF2 #F29CB1 #DCF29C #9CF2DD
split-complementary
#B29CF2 #F2DD9C #B1F29C
monochromatic
#5E30E4 #8866EB #B29CF2 #DCD2F9 #EAE4FB
Accessibility & contrast
On white
2.35
#B29CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.93
#B29CF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B29CF2
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B29CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B29CF2 | 1.00 | 2.35 | 8.93 | 8.93 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85AAF5
Deuteranopia (green-blind)
#88A8F0
Tritanopia (blue-blind)
#A5ABBC
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #b29cf2; /* rgb */ color: rgb(178, 156, 242); /* oklch */ color: oklch(74.5% 0.123 295.0);
Tailwind
colors: {
custom: {
50: '#cab9f6',
500: '#b29cf2',
950: '#000000',
},
}SCSS
$custom: #b29cf2; $custom-light: #cab9f6; $custom-dark: #000000;
JSON
{
"hex": "#b29cf2",
"rgb": {
"r": 178,
"g": 156,
"b": 242
},
"hsl": {
"h": 255.349,
"s": 76.786,
"l": 78.039
},
"oklch": {
"l": 0.74486,
"c": 0.1234,
"h": 295
},
"luminance": 0.39653
}Semantic roles & 50–950 ramp
primary
#B29CF2
secondary
#ECF3D8
accent
#D90CA5
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#131117
muted
#828085