#B249AB#B249AB
#B249AB is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.9% C 0.180 H 330.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #B249AB |
|---|---|
| RGB | rgb(178, 73, 171) |
| HSL | hsl(304, 42%, 49%) |
| HSV | hsv(304, 59%, 70%) |
| CMYK | cmyk(0%, 59%, 3.9%, 30.2%) |
| CIE-LAB | lab(48.48, 55.15, -32.50) |
| CIE-LCH | lch(48.48, 64.01, 329.49°) |
| OKLab | oklab(57.9% 0.1562 -0.0892) |
| OKLCH | oklch(57.9% 0.18 330.3) |
| XYZ | xyz(28.0931, 17.1722, 40.3551) |
| Luminance | 0.1717 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.74
Purpley Pink
#C83CB9
ΔE00 4.04
Medium Purple
#9E43A2
ΔE00 4.64
Pinky Purple
#C94CBE
ΔE00 5.25
Purply
#983FB2
ΔE00 7.10
Mediumorchid
#BA55D3
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B249AB #49B250
analogous
#8549B2 #B249AB #B24977
triadic
#B249AB #ABB249 #49ABB2
tetradic
#B249AB #B28549 #49B250 #4977B2
square
#B249AB #B28549 #49B250 #4977B2
split-complementary
#B249AB #77B249 #49B285
monochromatic
#5B2558 #873781 #B249AB #C573C0 #D79ED3
Accessibility & contrast
On white
4.74
#B249AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#B249AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B249AB
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B249AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B249AB | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#426AAE
Deuteranopia (green-blind)
#6478A8
Tritanopia (blue-blind)
#B85373
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #b249ab; /* rgb */ color: rgb(178, 73, 171); /* oklch */ color: oklch(57.9% 0.180 330.3);
Tailwind
colors: {
custom: {
50: '#cc82c4',
500: '#b249ab',
950: '#000000',
},
}SCSS
$custom: #b249ab; $custom-light: #cc82c4; $custom-dark: #000000;
JSON
{
"hex": "#b249ab",
"rgb": {
"r": 178,
"g": 73,
"b": 171
},
"hsl": {
"h": 304,
"s": 41.833,
"l": 49.216
},
"oklch": {
"l": 0.57897,
"c": 0.17981,
"h": 330.3
},
"luminance": 0.1717
}Semantic roles & 50–950 ramp
primary
#B249AB
secondary
#93C496
accent
#D25E56
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B12
muted
#827C81