#B488F6#B488F6
#B488F6 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.3% C 0.160 H 300.9°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #B488F6 |
|---|---|
| RGB | rgb(180, 136, 246) |
| HSL | hsl(264, 86%, 75%) |
| HSV | hsv(264, 45%, 96%) |
| CMYK | cmyk(26.8%, 44.7%, 0%, 3.5%) |
| CIE-LAB | lab(64.94, 38.68, -49.12) |
| CIE-LCH | lch(64.94, 62.52, 308.22°) |
| OKLab | oklab(71.34% 0.0823 -0.1376) |
| OKLCH | oklch(71.34% 0.16 300.9) |
| XYZ | xyz(44.2573, 33.9653, 91.3952) |
| Luminance | 0.3397 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.13
Light Purple
#BF77F6
ΔE00 4.80
Easter Purple
#C071FE
ΔE00 6.00
Light Urple
#B36FF6
ΔE00 6.22
Baby Purple
#CA9BF7
ΔE00 6.24
Pastel Purple
#CAA0FF
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B488F6 #CAF688
analogous
#8893F6 #B488F6 #EB88F6
triadic
#B488F6 #F6B488 #88F6B4
tetradic
#B488F6 #F68893 #CAF688 #88F6EB
square
#B488F6 #F68893 #CAF688 #88F6EB
split-complementary
#B488F6 #F6EB88 #93F688
monochromatic
#6C16ED #904FF2 #B488F6 #D8C1FA #EDE3FD
Accessibility & contrast
On white
2.69
#B488F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.79
#B488F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B488F6
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B488F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B488F6 | 1.00 | 2.69 | 7.79 | 7.79 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#699DFA
Deuteranopia (green-blind)
#729DF3
Tritanopia (blue-blind)
#A89BB3
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #b488f6; /* rgb */ color: rgb(180, 136, 246); /* oklch */ color: oklch(71.3% 0.160 300.9);
Tailwind
colors: {
custom: {
50: '#cdabf9',
500: '#b488f6',
950: '#000000',
},
}SCSS
$custom: #b488f6; $custom-light: #cdabf9; $custom-dark: #000000;
JSON
{
"hex": "#b488f6",
"rgb": {
"r": 180,
"g": 136,
"b": 246
},
"hsl": {
"h": 264,
"s": 85.938,
"l": 74.902
},
"oklch": {
"l": 0.71343,
"c": 0.16031,
"h": 300.9
},
"luminance": 0.33965
}Semantic roles & 50–950 ramp
primary
#B488F6
secondary
#E9F5D6
accent
#E20389
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85