#B23BAA#B23BAA
#B23BAA is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.3% C 0.198 H 330.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #B23BAA |
|---|---|
| RGB | rgb(178, 59, 170) |
| HSL | hsl(304, 50%, 46%) |
| HSV | hsv(304, 67%, 70%) |
| CMYK | cmyk(0%, 66.9%, 4.5%, 30.2%) |
| CIE-LAB | lab(46.31, 60.84, -35.31) |
| CIE-LCH | lch(46.31, 70.35, 329.87°) |
| OKLab | oklab(56.3% 0.1729 -0.0971) |
| OKLCH | oklch(56.3% 0.198 330.7) |
| XYZ | xyz(27.1797, 15.4972, 39.5821) |
| Luminance | 0.1550 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.75
Medium Purple
#9E43A2
ΔE00 3.66
Purpley Pink
#C83CB9
ΔE00 4.75
Barney
#AC1DB8
ΔE00 5.39
Purply
#983FB2
ΔE00 5.88
Pinky Purple
#C94CBE
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B23BAA #3BB243
analogous
#7F3BB2 #B23BAA #B23B6F
triadic
#B23BAA #AAB23B #3BAAB2
tetradic
#B23BAA #B27F3B #3BB243 #3B6FB2
square
#B23BAA #B27F3B #3BB243 #3B6FB2
split-complementary
#B23BAA #6FB23B #3BB27F
monochromatic
#561D52 #842C7E #B23BAA #CA60C3 #DA8ED4
Accessibility & contrast
On white
5.12
#B23BAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#B23BAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B23BAA
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B23BAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B23BAA | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3263AD
Deuteranopia (green-blind)
#5D74A7
Tritanopia (blue-blind)
#B9486E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #b23baa; /* rgb */ color: rgb(178, 59, 170); /* oklch */ color: oklch(56.3% 0.198 330.7);
Tailwind
colors: {
custom: {
50: '#cc7bc3',
500: '#b23baa',
950: '#000000',
},
}SCSS
$custom: #b23baa; $custom-light: #cc7bc3; $custom-dark: #000000;
JSON
{
"hex": "#b23baa",
"rgb": {
"r": 178,
"g": 59,
"b": 170
},
"hsl": {
"h": 304.034,
"s": 50.211,
"l": 46.471
},
"oklch": {
"l": 0.56304,
"c": 0.19832,
"h": 330.7
},
"luminance": 0.15495
}Semantic roles & 50–950 ramp
primary
#B23BAA
secondary
#85C489
accent
#DA574E
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A12
muted
#837C81