#B288DF#B288DF
#B288DF is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.0% C 0.131 H 305.5°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #B288DF |
|---|---|
| RGB | rgb(178, 136, 223) |
| HSL | hsl(269, 58%, 70%) |
| HSV | hsv(269, 39%, 87%) |
| CMYK | cmyk(20.2%, 39%, 0%, 12.5%) |
| CIE-LAB | lab(63.67, 32.77, -38.41) |
| CIE-LCH | lch(63.67, 50.49, 310.47°) |
| OKLab | oklab(70% 0.076 -0.1066) |
| OKLCH | oklch(70% 0.131 305.5) |
| XYZ | xyz(40.4809, 32.4012, 73.9192) |
| Luminance | 0.3240 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 4.12
Liliac
#C48EFD
ΔE00 5.08
Wisteria
#A87DC2
ΔE00 5.62
Baby Purple
#CA9BF7
ΔE00 6.17
Light Purple
#BF77F6
ΔE00 6.24
Lavender (survey)
#C79FEF
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B288DF #B5DF88
analogous
#8889DF #B288DF #DE88DF
triadic
#B288DF #DFB288 #88DFB2
tetradic
#B288DF #DF8889 #B5DF88 #88DFDE
square
#B288DF #DF8889 #B5DF88 #88DFDE
split-complementary
#B288DF #DFDE88 #89DF88
monochromatic
#7432BA #9358D2 #B288DF #D1B8EC #EFE7F9
Accessibility & contrast
On white
2.81
#B288DF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.48
#B288DF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B288DF
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B288DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B288DF | 1.00 | 2.81 | 7.48 | 7.48 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7499E2
Deuteranopia (green-blind)
#7E9ADD
Tritanopia (blue-blind)
#AB96A9
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #b288df; /* rgb */ color: rgb(178, 136, 223); /* oklch */ color: oklch(70.0% 0.131 305.5);
Tailwind
colors: {
custom: {
50: '#caabe9',
500: '#b288df',
950: '#000000',
},
}SCSS
$custom: #b288df; $custom-light: #caabe9; $custom-dark: #000000;
JSON
{
"hex": "#b288df",
"rgb": {
"r": 178,
"g": 136,
"b": 223
},
"hsl": {
"h": 268.966,
"s": 57.616,
"l": 70.392
},
"oklch": {
"l": 0.69997,
"c": 0.13092,
"h": 305.5
},
"luminance": 0.32401
}Semantic roles & 50–950 ramp
primary
#B288DF
secondary
#E2EDD5
accent
#C52076
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131016
muted
#827F84