#B23BAB#B23BAB

#B23BAB is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.4% C 0.199 H 330.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B23BAB
RGBrgb(178, 59, 171)
HSLhsl(304, 50%, 46%)
HSVhsv(304, 67%, 70%)
CMYKcmyk(0%, 66.9%, 3.9%, 30.2%)
CIE-LABlab(46.36, 61.01, -35.82)
CIE-LCHlch(46.36, 70.75, 329.58°)
OKLaboklab(56.36% 0.173 -0.0986)
OKLCHoklch(56.36% 0.199 330.3)
XYZxyz(27.2746, 15.5352, 40.0822)
Luminance0.1553 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23BAB #3BB242
analogous
#7E3BB2 #B23BAB #B23B70
triadic
#B23BAB #ABB23B #3BABB2
tetradic
#B23BAB #B27E3B #3BB242 #3B70B2
square
#B23BAB #B27E3B #3BB242 #3B70B2
split-complementary
#B23BAB #70B23B #3BB27E
monochromatic
#561D53 #842C7F #B23BAB #CA60C4 #DA8ED5

Accessibility & contrast

On white

5.11
#B23BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#B23BAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23BAB
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23BAB#FFFFFF#000000##FFFFFF
##B23BAB1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3163AE
Deuteranopia (green-blind)
#5D74A8
Tritanopia (blue-blind)
#B9496E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b23bab;
/* rgb */ color: rgb(178, 59, 171);
/* oklch */ color: oklch(56.4% 0.199 330.3);
Tailwind
colors: {
  custom: {
    50: '#cc7bc4',
    500: '#b23bab',
    950: '#000000',
  },
}
SCSS
$custom: #b23bab;
$custom-light: #cc7bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#b23bab",
  "rgb": {
    "r": 178,
    "g": 59,
    "b": 171
  },
  "hsl": {
    "h": 303.529,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56358,
    "c": 0.19911,
    "h": 330.3
  },
  "luminance": 0.15533
}

Semantic roles & 50–950 ramp

primary
#B23BAB
secondary
#85C488
accent
#DA564E
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B23BAB

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B23BAB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva