#B145B3#B145B3
#B145B3 is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.7% C 0.192 H 327.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #B145B3 |
|---|---|
| RGB | rgb(177, 69, 179) |
| HSL | hsl(299, 44%, 49%) |
| HSV | hsv(299, 61%, 70%) |
| CMYK | cmyk(1.1%, 61.5%, 0%, 29.8%) |
| CIE-LAB | lab(48.08, 58.03, -37.82) |
| CIE-LCH | lch(48.08, 69.27, 326.91°) |
| OKLab | oklab(57.71% 0.1608 -0.1045) |
| OKLCH | oklch(57.71% 0.192 327) |
| XYZ | xyz(28.3958, 16.8598, 44.3977) |
| Luminance | 0.1686 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.91
Purpley Pink
#C83CB9
ΔE00 4.07
Medium Purple
#9E43A2
ΔE00 4.36
Pinky Purple
#C94CBE
ΔE00 5.57
Purply
#983FB2
ΔE00 5.76
Barney
#AC1DB8
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B145B3 #47B345
analogous
#7A45B3 #B145B3 #B3457E
triadic
#B145B3 #B3B145 #45B3B1
tetradic
#B145B3 #B37A45 #47B345 #457EB3
square
#B145B3 #B37A45 #47B345 #457EB3
split-complementary
#B145B3 #7EB345 #45B37A
monochromatic
#5A235B #853487 #B145B3 #C66EC7 #D79AD8
Accessibility & contrast
On white
4.80
#B145B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#B145B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B145B3
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B145B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B145B3 | 1.00 | 4.80 | 4.37 | 4.80 |
| #FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3669B6
Deuteranopia (green-blind)
#5D77B0
Tritanopia (blue-blind)
#B65376
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #b145b3; /* rgb */ color: rgb(177, 69, 179); /* oklch */ color: oklch(57.7% 0.192 327.0);
Tailwind
colors: {
custom: {
50: '#cb80ca',
500: '#b145b3',
950: '#000000',
},
}SCSS
$custom: #b145b3; $custom-light: #cb80ca; $custom-dark: #000000;
JSON
{
"hex": "#b145b3",
"rgb": {
"r": 177,
"g": 69,
"b": 179
},
"hsl": {
"h": 298.909,
"s": 44.355,
"l": 48.627
},
"oklch": {
"l": 0.5771,
"c": 0.19176,
"h": 327
},
"luminance": 0.16858
}Semantic roles & 50–950 ramp
primary
#B145B3
secondary
#90C48F
accent
#D45456
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82