#B899F2#B899F2
#B899F2 is a light, vivid violet. Relative luminance 0.394; OKLCH L 74.5% C 0.129 H 299.3°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #B899F2 |
|---|---|
| RGB | rgb(184, 153, 242) |
| HSL | hsl(261, 77%, 77%) |
| HSV | hsv(261, 37%, 95%) |
| CMYK | cmyk(24%, 36.8%, 0%, 5.1%) |
| CIE-LAB | lab(69.03, 29.40, -40.47) |
| CIE-LCH | lch(69.03, 50.02, 305.99°) |
| OKLab | oklab(74.46% 0.0631 -0.1125) |
| OKLCH | oklch(74.46% 0.129 299.3) |
| XYZ | xyz(47.1818, 39.3834, 89.1032) |
| Luminance | 0.3938 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 3.51
Baby Purple
#CA9BF7
ΔE00 3.60
Lavender (survey)
#C79FEF
ΔE00 3.82
Lilac (survey)
#CEA2FD
ΔE00 4.30
Liliac
#C48EFD
ΔE00 4.45
Lavender
#B39DDB
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B899F2 #D3F299
analogous
#99A7F2 #B899F2 #E599F2
triadic
#B899F2 #F2B899 #99F2B8
tetradic
#B899F2 #F299A7 #D3F299 #99F2E5
square
#B899F2 #F299A7 #D3F299 #99F2E5
split-complementary
#B899F2 #F2E599 #A7F299
monochromatic
#6C2CE4 #9263EB #B899F2 #DECFF9 #ECE4FC
Accessibility & contrast
On white
2.37
#B899F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.88
#B899F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B899F2
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B899F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B899F2 | 1.00 | 2.37 | 8.88 | 8.88 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83A8F5
Deuteranopia (green-blind)
#88A8F0
Tritanopia (blue-blind)
#ADA8BA
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b899f2; /* rgb */ color: rgb(184, 153, 242); /* oklch */ color: oklch(74.5% 0.129 299.3);
Tailwind
colors: {
custom: {
50: '#cfb7f6',
500: '#b899f2',
950: '#000000',
},
}SCSS
$custom: #b899f2; $custom-light: #cfb7f6; $custom-dark: #000000;
JSON
{
"hex": "#b899f2",
"rgb": {
"r": 184,
"g": 153,
"b": 242
},
"hsl": {
"h": 260.899,
"s": 77.391,
"l": 77.451
},
"oklch": {
"l": 0.74464,
"c": 0.12897,
"h": 299.3
},
"luminance": 0.39384
}Semantic roles & 50–950 ramp
primary
#B899F2
secondary
#EAF3D8
accent
#DA0C92
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#141117
muted
#828085