#B245AE#B245AE
#B245AE is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.6% C 0.188 H 329.2°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #B245AE |
|---|---|
| RGB | rgb(178, 69, 174) |
| HSL | hsl(302, 44%, 48%) |
| HSV | hsv(302, 61%, 70%) |
| CMYK | cmyk(0%, 61.2%, 2.2%, 30.2%) |
| CIE-LAB | lab(47.98, 57.42, -35.04) |
| CIE-LCH | lch(47.98, 67.27, 328.61°) |
| OKLab | oklab(57.58% 0.1615 -0.0964) |
| OKLCH | oklch(57.58% 0.188 329.2) |
| XYZ | xyz(28.1279, 16.7791, 41.7934) |
| Luminance | 0.1678 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.48
Purpley Pink
#C83CB9
ΔE00 3.93
Medium Purple
#9E43A2
ΔE00 4.25
Pinky Purple
#C94CBE
ΔE00 5.52
Purply
#983FB2
ΔE00 6.33
Barney
#AC1DB8
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B245AE #45B249
analogous
#7F45B2 #B245AE #B24577
triadic
#B245AE #AEB245 #45AEB2
tetradic
#B245AE #B27F45 #45B249 #4577B2
square
#B245AE #B27F45 #45B249 #4577B2
split-complementary
#B245AE #77B245 #45B27F
monochromatic
#5A2358 #863483 #B245AE #C76EC3 #D89AD5
Accessibility & contrast
On white
4.82
#B245AE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#B245AE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B245AE
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B245AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B245AE | 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)
#3B68B1
Deuteranopia (green-blind)
#6177AB
Tritanopia (blue-blind)
#B85173
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #b245ae; /* rgb */ color: rgb(178, 69, 174); /* oklch */ color: oklch(57.6% 0.188 329.2);
Tailwind
colors: {
custom: {
50: '#cc80c6',
500: '#b245ae',
950: '#000000',
},
}SCSS
$custom: #b245ae; $custom-light: #cc80c6; $custom-dark: #000000;
JSON
{
"hex": "#b245ae",
"rgb": {
"r": 178,
"g": 69,
"b": 174
},
"hsl": {
"h": 302.202,
"s": 44.13,
"l": 48.431
},
"oklch": {
"l": 0.57583,
"c": 0.18811,
"h": 329.2
},
"luminance": 0.16777
}Semantic roles & 50–950 ramp
primary
#B245AE
secondary
#8FC491
accent
#D45954
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82