#B145A6#B145A6
#B145A6 is a mid, vivid purple. Relative luminance 0.164; OKLCH L 57.0% C 0.181 H 331.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #B145A6 |
|---|---|
| RGB | rgb(177, 69, 166) |
| HSL | hsl(306, 44%, 48%) |
| HSV | hsv(306, 61%, 69%) |
| CMYK | cmyk(0%, 61%, 6.2%, 30.6%) |
| CIE-LAB | lab(47.44, 55.81, -31.18) |
| CIE-LCH | lch(47.44, 63.93, 330.81°) |
| OKLab | oklab(57.03% 0.1595 -0.0854) |
| OKLCH | oklch(57.03% 0.181 331.9) |
| XYZ | xyz(27.1425, 16.3585, 37.7969) |
| Luminance | 0.1636 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.91
Medium Purple
#9E43A2
ΔE00 4.07
Purpley Pink
#C83CB9
ΔE00 4.60
Pinky Purple
#C94CBE
ΔE00 6.21
Purply
#983FB2
ΔE00 6.97
Purpleish
#98568D
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B145A6 #45B150
analogous
#8645B1 #B145A6 #B14570
triadic
#B145A6 #A6B145 #45A6B1
tetradic
#B145A6 #B18645 #45B150 #4570B1
square
#B145A6 #B18645 #45B150 #4570B1
split-complementary
#B145A6 #70B145 #45B186
monochromatic
#592353 #85347D #B145A6 #C66DBD #D799D1
Accessibility & contrast
On white
4.92
#B145A6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#B145A6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B145A6
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B145A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B145A6 | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4067A9
Deuteranopia (green-blind)
#6376A3
Tritanopia (blue-blind)
#B84F6F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #b145a6; /* rgb */ color: rgb(177, 69, 166); /* oklch */ color: oklch(57.0% 0.181 331.9);
Tailwind
colors: {
custom: {
50: '#cb7fc0',
500: '#b145a6',
950: '#000000',
},
}SCSS
$custom: #b145a6; $custom-light: #cb7fc0; $custom-dark: #000000;
JSON
{
"hex": "#b145a6",
"rgb": {
"r": 177,
"g": 69,
"b": 166
},
"hsl": {
"h": 306.111,
"s": 43.902,
"l": 48.235
},
"oklch": {
"l": 0.57034,
"c": 0.18093,
"h": 331.9
},
"luminance": 0.16357
}Semantic roles & 50–950 ramp
primary
#B145A6
secondary
#8EC394
accent
#D46154
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81