#B245AB#B245AB
#B245AB is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.4% C 0.186 H 330.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #B245AB |
|---|---|
| RGB | rgb(178, 69, 171) |
| HSL | hsl(304, 44%, 48%) |
| HSV | hsv(304, 61%, 70%) |
| CMYK | cmyk(0%, 61.2%, 3.9%, 30.2%) |
| CIE-LAB | lab(47.83, 56.91, -33.50) |
| CIE-LCH | lch(47.83, 66.04, 329.51°) |
| OKLab | oklab(57.43% 0.1612 -0.092) |
| OKLCH | oklch(57.43% 0.186 330.3) |
| XYZ | xyz(27.8387, 16.6634, 40.2703) |
| Luminance | 0.1666 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.26
Purpley Pink
#C83CB9
ΔE00 4.07
Medium Purple
#9E43A2
ΔE00 4.19
Pinky Purple
#C94CBE
ΔE00 5.68
Purply
#983FB2
ΔE00 6.61
Barney
#AC1DB8
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B245AB #45B24C
analogous
#8245B2 #B245AB #B24574
triadic
#B245AB #ABB245 #45ABB2
tetradic
#B245AB #B28245 #45B24C #4574B2
square
#B245AB #B28245 #45B24C #4574B2
split-complementary
#B245AB #74B245 #45B282
monochromatic
#5A2356 #863481 #B245AB #C76EC1 #D89AD4
Accessibility & contrast
On white
4.85
#B245AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#B245AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B245AB
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B245AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B245AB | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D68AE
Deuteranopia (green-blind)
#6277A8
Tritanopia (blue-blind)
#B85072
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #b245ab; /* rgb */ color: rgb(178, 69, 171); /* oklch */ color: oklch(57.4% 0.186 330.3);
Tailwind
colors: {
custom: {
50: '#cc80c4',
500: '#b245ab',
950: '#000000',
},
}SCSS
$custom: #b245ab; $custom-light: #cc80c4; $custom-dark: #000000;
JSON
{
"hex": "#b245ab",
"rgb": {
"r": 178,
"g": 69,
"b": 171
},
"hsl": {
"h": 303.853,
"s": 44.13,
"l": 48.431
},
"oklch": {
"l": 0.57428,
"c": 0.18562,
"h": 330.3
},
"luminance": 0.16661
}Semantic roles & 50–950 ramp
primary
#B245AB
secondary
#8FC492
accent
#D45C54
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82