#B247AE#B247AE
#B247AE is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.8% C 0.185 H 329.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #B247AE |
|---|---|
| RGB | rgb(178, 71, 174) |
| HSL | hsl(302, 43%, 49%) |
| HSV | hsv(302, 60%, 70%) |
| CMYK | cmyk(0%, 60.1%, 2.2%, 30.2%) |
| CIE-LAB | lab(48.30, 56.55, -34.54) |
| CIE-LCH | lch(48.30, 66.26, 328.58°) |
| OKLab | oklab(57.81% 0.159 -0.095) |
| OKLCH | oklch(57.81% 0.185 329.1) |
| XYZ | xyz(28.2530, 17.0293, 41.8351) |
| Luminance | 0.1703 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.68
Purpley Pink
#C83CB9
ΔE00 3.89
Medium Purple
#9E43A2
ΔE00 4.45
Pinky Purple
#C94CBE
ΔE00 5.28
Purply
#983FB2
ΔE00 6.57
Barney
#AC1DB8
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B247AE #47B24B
analogous
#8147B2 #B247AE #B24779
triadic
#B247AE #AEB247 #47AEB2
tetradic
#B247AE #B28147 #47B24B #4779B2
square
#B247AE #B28147 #47B24B #4779B2
split-complementary
#B247AE #79B247 #47B281
monochromatic
#5B2458 #863683 #B247AE #C670C3 #D79CD5
Accessibility & contrast
On white
4.77
#B247AE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#B247AE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B247AE
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B247AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B247AE | 1.00 | 4.77 | 4.41 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D69B1
Deuteranopia (green-blind)
#6278AB
Tritanopia (blue-blind)
#B85374
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #b247ae; /* rgb */ color: rgb(178, 71, 174); /* oklch */ color: oklch(57.8% 0.185 329.1);
Tailwind
colors: {
custom: {
50: '#cc81c6',
500: '#b247ae',
950: '#000000',
},
}SCSS
$custom: #b247ae; $custom-light: #cc81c6; $custom-dark: #000000;
JSON
{
"hex": "#b247ae",
"rgb": {
"r": 178,
"g": 71,
"b": 174
},
"hsl": {
"h": 302.243,
"s": 42.972,
"l": 48.824
},
"oklch": {
"l": 0.57814,
"c": 0.18525,
"h": 329.1
},
"luminance": 0.17027
}Semantic roles & 50–950 ramp
primary
#B247AE
secondary
#91C493
accent
#D35A55
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82