#B487FC#B487FC
#B487FC is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.5% C 0.169 H 299.9°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #B487FC |
|---|---|
| RGB | rgb(180, 135, 252) |
| HSL | hsl(263, 95%, 76%) |
| HSV | hsv(263, 46%, 99%) |
| CMYK | cmyk(28.6%, 46.4%, 0%, 1.2%) |
| CIE-LAB | lab(65.01, 40.67, -52.29) |
| CIE-LCH | lch(65.01, 66.25, 307.88°) |
| OKLab | oklab(71.5% 0.0844 -0.1468) |
| OKLCH | oklch(71.5% 0.169 299.9) |
| XYZ | xyz(45.0530, 34.0593, 96.2771) |
| Luminance | 0.3406 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.42
Light Purple
#BF77F6
ΔE00 4.73
Easter Purple
#C071FE
ΔE00 5.68
Light Urple
#B36FF6
ΔE00 5.95
Baby Purple
#CA9BF7
ΔE00 6.82
Pastel Purple
#CAA0FF
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B487FC #CFFC87
analogous
#8794FC #B487FC #EE87FC
triadic
#B487FC #FCB487 #87FCB4
tetradic
#B487FC #FC8794 #CFFC87 #87FCEE
square
#B487FC #FC8794 #CFFC87 #87FCEE
split-complementary
#B487FC #FCEE87 #94FC87
monochromatic
#6910F9 #8F4BFB #B487FC #D9C3FD #ECE1FE
Accessibility & contrast
On white
2.69
#B487FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#B487FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B487FC
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B487FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B487FC | 1.00 | 2.69 | 7.81 | 7.81 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#639DFF
Deuteranopia (green-blind)
#6D9DF9
Tritanopia (blue-blind)
#A69CB6
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #b487fc; /* rgb */ color: rgb(180, 135, 252); /* oklch */ color: oklch(71.5% 0.169 299.9);
Tailwind
colors: {
custom: {
50: '#cdabfe',
500: '#b487fc',
950: '#000000',
},
}SCSS
$custom: #b487fc; $custom-light: #cdabfe; $custom-dark: #000000;
JSON
{
"hex": "#b487fc",
"rgb": {
"r": 180,
"g": 135,
"b": 252
},
"hsl": {
"h": 263.077,
"s": 95.122,
"l": 75.882
},
"oklch": {
"l": 0.71496,
"c": 0.16934,
"h": 299.9
},
"luminance": 0.3406
}Semantic roles & 50–950 ramp
primary
#B487FC
secondary
#E9F6D5
accent
#E6008D
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86