#B241AA#B241AA
#B241AA is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.9% C 0.190 H 330.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #B241AA |
|---|---|
| RGB | rgb(178, 65, 170) |
| HSL | hsl(304, 47%, 48%) |
| HSV | hsv(304, 63%, 70%) |
| CMYK | cmyk(0%, 63.5%, 4.5%, 30.2%) |
| CIE-LAB | lab(47.17, 58.44, -33.96) |
| CIE-LCH | lch(47.17, 67.59, 329.84°) |
| OKLab | oklab(56.93% 0.166 -0.0933) |
| OKLCH | oklch(56.93% 0.19 330.7) |
| XYZ | xyz(27.5060, 16.1498, 39.6909) |
| Luminance | 0.1615 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.88
Medium Purple
#9E43A2
ΔE00 3.87
Purpley Pink
#C83CB9
ΔE00 4.30
Pinky Purple
#C94CBE
ΔE00 6.23
Purply
#983FB2
ΔE00 6.31
Barney
#AC1DB8
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B241AA #41B249
analogous
#8241B2 #B241AA #B24171
triadic
#B241AA #AAB241 #41AAB2
tetradic
#B241AA #B28241 #41B249 #4171B2
square
#B241AA #B28241 #41B249 #4171B2
split-complementary
#B241AA #71B241 #41B282
monochromatic
#582054 #85317F #B241AA #C868C1 #D895D4
Accessibility & contrast
On white
4.97
#B241AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#B241AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B241AA
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B241AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B241AA | 1.00 | 4.97 | 4.23 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3966AD
Deuteranopia (green-blind)
#6075A7
Tritanopia (blue-blind)
#B94D70
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #b241aa; /* rgb */ color: rgb(178, 65, 170); /* oklch */ color: oklch(56.9% 0.190 330.7);
Tailwind
colors: {
custom: {
50: '#cc7ec3',
500: '#b241aa',
950: '#000000',
},
}SCSS
$custom: #b241aa; $custom-light: #cc7ec3; $custom-dark: #000000;
JSON
{
"hex": "#b241aa",
"rgb": {
"r": 178,
"g": 65,
"b": 170
},
"hsl": {
"h": 304.248,
"s": 46.502,
"l": 47.647
},
"oklch": {
"l": 0.5693,
"c": 0.1904,
"h": 330.7
},
"luminance": 0.16148
}Semantic roles & 50–950 ramp
primary
#B241AA
secondary
#8BC48F
accent
#D65B52
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140A12
muted
#827C81