#B246AB#B246AB
#B246AB is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.5% C 0.184 H 330.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #B246AB |
|---|---|
| RGB | rgb(178, 70, 171) |
| HSL | hsl(304, 44%, 49%) |
| HSV | hsv(304, 61%, 70%) |
| CMYK | cmyk(0%, 60.7%, 3.9%, 30.2%) |
| CIE-LAB | lab(47.99, 56.48, -33.26) |
| CIE-LCH | lch(47.99, 65.54, 329.51°) |
| OKLab | oklab(57.54% 0.16 -0.0913) |
| OKLCH | oklch(57.54% 0.184 330.3) |
| XYZ | xyz(27.9008, 16.7875, 40.2910) |
| Luminance | 0.1679 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.36
Purpley Pink
#C83CB9
ΔE00 4.05
Medium Purple
#9E43A2
ΔE00 4.29
Pinky Purple
#C94CBE
ΔE00 5.57
Purply
#983FB2
ΔE00 6.72
Barney
#AC1DB8
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B246AB #46B24D
analogous
#8346B2 #B246AB #B24675
triadic
#B246AB #ABB246 #46ABB2
tetradic
#B246AB #B28346 #46B24D #4675B2
square
#B246AB #B28346 #46B24D #4675B2
split-complementary
#B246AB #75B246 #46B283
monochromatic
#5A2357 #863581 #B246AB #C66FC1 #D89BD4
Accessibility & contrast
On white
4.82
#B246AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#B246AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B246AB
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B246AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B246AB | 1.00 | 4.82 | 4.36 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E68AE
Deuteranopia (green-blind)
#6277A8
Tritanopia (blue-blind)
#B85172
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #b246ab; /* rgb */ color: rgb(178, 70, 171); /* oklch */ color: oklch(57.5% 0.184 330.3);
Tailwind
colors: {
custom: {
50: '#cc80c4',
500: '#b246ab',
950: '#000000',
},
}SCSS
$custom: #b246ab; $custom-light: #cc80c4; $custom-dark: #000000;
JSON
{
"hex": "#b246ab",
"rgb": {
"r": 178,
"g": 70,
"b": 171
},
"hsl": {
"h": 303.889,
"s": 43.548,
"l": 48.627
},
"oklch": {
"l": 0.57543,
"c": 0.18419,
"h": 330.3
},
"luminance": 0.16786
}Semantic roles & 50–950 ramp
primary
#B246AB
secondary
#90C493
accent
#D35D55
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82