#B249AA#B249AA
#B249AA is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.8% C 0.179 H 330.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #B249AA |
|---|---|
| RGB | rgb(178, 73, 170) |
| HSL | hsl(305, 42%, 49%) |
| HSV | hsv(305, 59%, 70%) |
| CMYK | cmyk(0%, 59%, 4.5%, 30.2%) |
| CIE-LAB | lab(48.43, 54.98, -31.98) |
| CIE-LCH | lch(48.43, 63.60, 329.81°) |
| OKLab | oklab(57.85% 0.156 -0.0877) |
| OKLCH | oklch(57.85% 0.179 330.7) |
| XYZ | xyz(27.9982, 17.1343, 39.8550) |
| Luminance | 0.1713 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.70
Purpley Pink
#C83CB9
ΔE00 4.12
Medium Purple
#9E43A2
ΔE00 4.65
Pinky Purple
#C94CBE
ΔE00 5.32
Purply
#983FB2
ΔE00 7.21
Purpleish
#98568D
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B249AA #49B251
analogous
#8649B2 #B249AA #B24976
triadic
#B249AA #AAB249 #49AAB2
tetradic
#B249AA #B28649 #49B251 #4976B2
square
#B249AA #B28649 #49B251 #4976B2
split-complementary
#B249AA #76B249 #49B286
monochromatic
#5B2557 #873781 #B249AA #C573BF #D79ED3
Accessibility & contrast
On white
4.74
#B249AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#B249AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B249AA
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B249AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B249AA | 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)
#436AAD
Deuteranopia (green-blind)
#6578A7
Tritanopia (blue-blind)
#B85373
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #b249aa; /* rgb */ color: rgb(178, 73, 170); /* oklch */ color: oklch(57.8% 0.179 330.7);
Tailwind
colors: {
custom: {
50: '#cc82c3',
500: '#b249aa',
950: '#000000',
},
}SCSS
$custom: #b249aa; $custom-light: #cc82c3; $custom-dark: #000000;
JSON
{
"hex": "#b249aa",
"rgb": {
"r": 178,
"g": 73,
"b": 170
},
"hsl": {
"h": 304.571,
"s": 41.833,
"l": 49.216
},
"oklch": {
"l": 0.57847,
"c": 0.17898,
"h": 330.7
},
"luminance": 0.17132
}Semantic roles & 50–950 ramp
primary
#B249AA
secondary
#93C497
accent
#D26056
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B12
muted
#827C81