#B295FE#B295FE
#B295FE is a light, vivid violet. Relative luminance 0.381; OKLCH L 73.8% C 0.150 H 295.2°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).
Color values
| HEX | #B295FE |
|---|---|
| RGB | rgb(178, 149, 254) |
| HSL | hsl(257, 98%, 79%) |
| HSV | hsv(257, 41%, 100%) |
| CMYK | cmyk(29.9%, 41.3%, 0%, 0.4%) |
| CIE-LAB | lab(68.11, 32.84, -48.50) |
| CIE-LCH | lch(68.11, 58.58, 304.10°) |
| OKLab | oklab(73.82% 0.0639 -0.1359) |
| OKLCH | oklch(73.82% 0.15 295.2) |
| XYZ | xyz(46.9925, 38.1150, 98.6278) |
| Luminance | 0.3812 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 4.51
Pastel Purple
#CAA0FF
ΔE00 5.27
Baby Purple
#CA9BF7
ΔE00 5.76
Lilac (survey)
#CEA2FD
ΔE00 6.38
Lavender (survey)
#C79FEF
ΔE00 6.68
Perrywinkle
#8F8CE7
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B295FE #E1FE95
analogous
#95ADFE #B295FE #E695FE
triadic
#B295FE #FEB295 #95FEB2
tetradic
#B295FE #FE95AD #E1FE95 #95FEE6
square
#B295FE #FE95AD #E1FE95 #95FEE6
split-complementary
#B295FE #FEE695 #ADFE95
monochromatic
#5A1CFD #8658FD #B295FE #DED2FF #E9E1FF
Accessibility & contrast
On white
2.44
#B295FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.62
#B295FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B295FE
8.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B295FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B295FE | 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)
#76A7FF
Deuteranopia (green-blind)
#7AA5FB
Tritanopia (blue-blind)
#A1A8BD
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #b295fe; /* rgb */ color: rgb(178, 149, 254); /* oklch */ color: oklch(73.8% 0.150 295.2);
Tailwind
colors: {
custom: {
50: '#cbb4ff',
500: '#b295fe',
950: '#000000',
},
}SCSS
$custom: #b295fe; $custom-light: #cbb4ff; $custom-dark: #000000;
JSON
{
"hex": "#b295fe",
"rgb": {
"r": 178,
"g": 149,
"b": 254
},
"hsl": {
"h": 256.571,
"s": 98.131,
"l": 79.02
},
"oklch": {
"l": 0.73815,
"c": 0.15013,
"h": 295.2
},
"luminance": 0.38116
}Semantic roles & 50–950 ramp
primary
#B295FE
secondary
#EDF7D4
accent
#E600A6
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086