#B495F8#B495F8
#B495F8 is a light, vivid violet. Relative luminance 0.380; OKLCH L 73.7% C 0.143 H 297.2°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #B495F8 |
|---|---|
| RGB | rgb(180, 149, 248) |
| HSL | hsl(259, 88%, 78%) |
| HSV | hsv(259, 40%, 97%) |
| CMYK | cmyk(27.4%, 39.9%, 0%, 2.7%) |
| CIE-LAB | lab(68.00, 31.93, -45.38) |
| CIE-LCH | lch(68.00, 55.49, 305.13°) |
| OKLab | oklab(73.69% 0.0651 -0.1267) |
| OKLCH | oklch(73.69% 0.143 297.2) |
| XYZ | xyz(46.5091, 37.9750, 93.6684) |
| Luminance | 0.3798 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.99
Pastel Purple
#CAA0FF
ΔE00 4.59
Baby Purple
#CA9BF7
ΔE00 4.83
Lilac (survey)
#CEA2FD
ΔE00 5.61
Lavender (survey)
#C79FEF
ΔE00 5.63
Lavender
#B39DDB
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B495F8 #D9F895
analogous
#95A7F8 #B495F8 #E695F8
triadic
#B495F8 #F8B495 #95F8B4
tetradic
#B495F8 #F895A7 #D9F895 #95F8E6
square
#B495F8 #F895A7 #D9F895 #95F8E6
split-complementary
#B495F8 #F8E695 #A7F895
monochromatic
#6322F0 #8B5CF4 #B495F8 #DDCEFC #EBE2FD
Accessibility & contrast
On white
2.44
#B495F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.60
#B495F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B495F8
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B495F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B495F8 | 1.00 | 2.44 | 8.60 | 8.60 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7AA6FC
Deuteranopia (green-blind)
#7FA5F5
Tritanopia (blue-blind)
#A6A6BB
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #b495f8; /* rgb */ color: rgb(180, 149, 248); /* oklch */ color: oklch(73.7% 0.143 297.2);
Tailwind
colors: {
custom: {
50: '#ccb4fb',
500: '#b495f8',
950: '#000000',
},
}SCSS
$custom: #b495f8; $custom-light: #ccb4fb; $custom-dark: #000000;
JSON
{
"hex": "#b495f8",
"rgb": {
"r": 180,
"g": 149,
"b": 248
},
"hsl": {
"h": 258.788,
"s": 87.611,
"l": 77.843
},
"oklch": {
"l": 0.73688,
"c": 0.14251,
"h": 297.2
},
"luminance": 0.37976
}Semantic roles & 50–950 ramp
primary
#B495F8
secondary
#EBF5D6
accent
#E4019D
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085