#B28FF0#B28FF0
#B28FF0 is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.1% C 0.141 H 299.5°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #B28FF0 |
|---|---|
| RGB | rgb(178, 143, 240) |
| HSL | hsl(262, 76%, 75%) |
| HSV | hsv(262, 40%, 94%) |
| CMYK | cmyk(25.8%, 40.4%, 0%, 5.9%) |
| CIE-LAB | lab(66.06, 32.81, -44.06) |
| CIE-LCH | lch(66.06, 54.94, 306.67°) |
| OKLab | oklab(72.05% 0.0695 -0.123) |
| OKLCH | oklch(72.05% 0.141 299.5) |
| XYZ | xyz(43.9071, 35.4009, 86.9411) |
| Luminance | 0.3540 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.65
Baby Purple
#CA9BF7
ΔE00 5.14
Pastel Purple
#CAA0FF
ΔE00 5.53
Lavender (survey)
#C79FEF
ΔE00 5.94
Pale Purple
#B790D4
ΔE00 6.29
Lilac (survey)
#CEA2FD
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B28FF0 #CDF08F
analogous
#8F9DF0 #B28FF0 #E28FF0
triadic
#B28FF0 #F0B28F #8FF0B2
tetradic
#B28FF0 #F08F9D #CDF08F #8FF0E2
square
#B28FF0 #F08F9D #CDF08F #8FF0E2
split-complementary
#B28FF0 #F0E28F #9DF08F
monochromatic
#6823E2 #8D59E9 #B28FF0 #D7C5F7 #ECE4FB
Accessibility & contrast
On white
2.60
#B28FF0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.08
#B28FF0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B28FF0
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B28FF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B28FF0 | 1.00 | 2.60 | 8.08 | 8.08 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#75A0F4
Deuteranopia (green-blind)
#7CA0ED
Tritanopia (blue-blind)
#A6A0B4
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #b28ff0; /* rgb */ color: rgb(178, 143, 240); /* oklch */ color: oklch(72.1% 0.141 299.5);
Tailwind
colors: {
custom: {
50: '#cbb0f5',
500: '#b28ff0',
950: '#000000',
},
}SCSS
$custom: #b28ff0; $custom-light: #cbb0f5; $custom-dark: #000000;
JSON
{
"hex": "#b28ff0",
"rgb": {
"r": 178,
"g": 143,
"b": 240
},
"hsl": {
"h": 261.649,
"s": 76.378,
"l": 75.098
},
"oklch": {
"l": 0.72054,
"c": 0.14125,
"h": 299.5
},
"luminance": 0.35401
}Semantic roles & 50–950 ramp
primary
#B28FF0
secondary
#E9F3D8
accent
#D90D8F
background
#FCFAFF
surface
#F9F5FE
border
#D2CFD6
text
#131017
muted
#827F85