#B29EF2#B29EF2
#B29EF2 is a light, vivid violet. Relative luminance 0.403; OKLCH L 74.9% C 0.120 H 294.2°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #B29EF2 |
|---|---|
| RGB | rgb(178, 158, 242) |
| HSL | hsl(254, 76%, 78%) |
| HSV | hsv(254, 35%, 95%) |
| CMYK | cmyk(26.4%, 34.7%, 0%, 5.1%) |
| CIE-LAB | lab(69.70, 24.88, -39.46) |
| CIE-LCH | lch(69.70, 46.65, 302.24°) |
| OKLab | oklab(74.86% 0.0494 -0.1097) |
| OKLCH | oklch(74.86% 0.12 294.2) |
| XYZ | xyz(46.6101, 40.3289, 89.3158) |
| Luminance | 0.4033 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 4.84
Lavender
#B39DDB
ΔE00 4.93
Lavender (survey)
#C79FEF
ΔE00 5.14
Baby Purple
#CA9BF7
ΔE00 5.48
Lilac (survey)
#CEA2FD
ΔE00 5.57
Pale Violet
#CEAEFA
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B29EF2 #DEF29E
analogous
#9EB4F2 #B29EF2 #DC9EF2
triadic
#B29EF2 #F2B29E #9EF2B2
tetradic
#B29EF2 #F29EB4 #DEF29E #9EF2DC
square
#B29EF2 #F29EB4 #DEF29E #9EF2DC
split-complementary
#B29EF2 #F2DC9E #B4F29E
monochromatic
#5C32E4 #8768EB #B29EF2 #DDD4F9 #EAE4FB
Accessibility & contrast
On white
2.32
#B29EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.07
#B29EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B29EF2
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B29EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B29EF2 | 1.00 | 2.32 | 9.07 | 9.07 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88ABF5
Deuteranopia (green-blind)
#8AA9F0
Tritanopia (blue-blind)
#A5ACBD
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b29ef2; /* rgb */ color: rgb(178, 158, 242); /* oklch */ color: oklch(74.9% 0.120 294.2);
Tailwind
colors: {
custom: {
50: '#cabaf6',
500: '#b29ef2',
950: '#000000',
},
}SCSS
$custom: #b29ef2; $custom-light: #cabaf6; $custom-dark: #000000;
JSON
{
"hex": "#b29ef2",
"rgb": {
"r": 178,
"g": 158,
"b": 242
},
"hsl": {
"h": 254.286,
"s": 76.364,
"l": 78.431
},
"oklch": {
"l": 0.74855,
"c": 0.1203,
"h": 294.2
},
"luminance": 0.4033
}Semantic roles & 50–950 ramp
primary
#B29EF2
secondary
#EDF3D8
accent
#D90DA8
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#131117
muted
#828085