#B495EF#B495EF
#B495EF is a light, vivid violet. Relative luminance 0.374; OKLCH L 73.2% C 0.131 H 299.0°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).
Color values
| HEX | #B495EF |
|---|---|
| RGB | rgb(180, 149, 239) |
| HSL | hsl(261, 74%, 76%) |
| HSV | hsv(261, 38%, 94%) |
| CMYK | cmyk(24.7%, 37.7%, 0%, 6.3%) |
| CIE-LAB | lab(67.60, 29.78, -41.09) |
| CIE-LCH | lch(67.60, 50.75, 305.93°) |
| OKLab | oklab(73.25% 0.0634 -0.1143) |
| OKLCH | oklch(73.25% 0.131 299) |
| XYZ | xyz(45.1463, 37.4299, 86.4908) |
| Luminance | 0.3743 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 4.30
Baby Purple
#CA9BF7
ΔE00 4.30
Pastel Purple
#CAA0FF
ΔE00 4.48
Lavender (survey)
#C79FEF
ΔE00 4.65
Lilac (survey)
#CEA2FD
ΔE00 5.28
Lavender
#B39DDB
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B495EF #D0EF95
analogous
#95A3EF #B495EF #E195EF
triadic
#B495EF #EFB495 #95EFB4
tetradic
#B495EF #EF95A3 #D0EF95 #95EFE1
square
#B495EF #EF95A3 #D0EF95 #95EFE1
split-complementary
#B495EF #EFE195 #A3EF95
monochromatic
#692BDF #8E60E7 #B495EF #DACAF7 #ECE4FB
Accessibility & contrast
On white
2.47
#B495EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.49
#B495EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B495EF
8.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B495EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B495EF | 1.00 | 2.47 | 8.49 | 8.49 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7EA5F2
Deuteranopia (green-blind)
#84A4ED
Tritanopia (blue-blind)
#A9A4B7
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b495ef; /* rgb */ color: rgb(180, 149, 239); /* oklch */ color: oklch(73.2% 0.131 299.0);
Tailwind
colors: {
custom: {
50: '#ccb4f4',
500: '#b495ef',
950: '#000000',
},
}SCSS
$custom: #b495ef; $custom-light: #ccb4f4; $custom-dark: #000000;
JSON
{
"hex": "#b495ef",
"rgb": {
"r": 180,
"g": 149,
"b": 239
},
"hsl": {
"h": 260.667,
"s": 73.77,
"l": 76.078
},
"oklch": {
"l": 0.73249,
"c": 0.13074,
"h": 299
},
"luminance": 0.3743
}Semantic roles & 50–950 ramp
primary
#B495EF
secondary
#EAF3D8
accent
#D61092
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131117
muted
#828085