#B295EF#B295EF
#B295EF is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.1% C 0.130 H 297.9°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #B295EF |
|---|---|
| RGB | rgb(178, 149, 239) |
| HSL | hsl(259, 74%, 76%) |
| HSV | hsv(259, 38%, 94%) |
| CMYK | cmyk(25.5%, 37.7%, 0%, 6.3%) |
| CIE-LAB | lab(67.42, 29.21, -41.38) |
| CIE-LCH | lch(67.42, 50.65, 305.22°) |
| OKLab | oklab(73.07% 0.0611 -0.1152) |
| OKLCH | oklch(73.07% 0.13 297.9) |
| XYZ | xyz(44.6839, 37.1915, 86.4692) |
| Luminance | 0.3719 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 4.61
Baby Purple
#CA9BF7
ΔE00 4.72
Pastel Purple
#CAA0FF
ΔE00 4.80
Lavender (survey)
#C79FEF
ΔE00 5.02
Lavender
#B39DDB
ΔE00 5.46
Lilac (survey)
#CEA2FD
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B295EF #D2EF95
analogous
#95A5EF #B295EF #DF95EF
triadic
#B295EF #EFB295 #95EFB2
tetradic
#B295EF #EF95A5 #D2EF95 #95EFDF
square
#B295EF #EF95A5 #D2EF95 #95EFDF
split-complementary
#B295EF #EFDF95 #A5EF95
monochromatic
#652BDF #8B60E7 #B295EF #D9CAF7 #ECE4FB
Accessibility & contrast
On white
2.49
#B295EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.44
#B295EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B295EF
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B295EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B295EF | 1.00 | 2.49 | 8.44 | 8.44 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7EA4F2
Deuteranopia (green-blind)
#83A3ED
Tritanopia (blue-blind)
#A6A4B7
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #b295ef; /* rgb */ color: rgb(178, 149, 239); /* oklch */ color: oklch(73.1% 0.130 297.9);
Tailwind
colors: {
custom: {
50: '#cab4f4',
500: '#b295ef',
950: '#000000',
},
}SCSS
$custom: #b295ef; $custom-light: #cab4f4; $custom-dark: #000000;
JSON
{
"hex": "#b295ef",
"rgb": {
"r": 178,
"g": 149,
"b": 239
},
"hsl": {
"h": 259.333,
"s": 73.77,
"l": 76.078
},
"oklch": {
"l": 0.73072,
"c": 0.13041,
"h": 297.9
},
"luminance": 0.37192
}Semantic roles & 50–950 ramp
primary
#B295EF
secondary
#EAF3D8
accent
#D61096
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131117
muted
#828085