#B23AAB#B23AAB

#B23AAB is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.3% C 0.200 H 330.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B23AAB
RGBrgb(178, 58, 171)
HSLhsl(304, 51%, 46%)
HSVhsv(304, 67%, 70%)
CMYKcmyk(0%, 67.4%, 3.9%, 30.2%)
CIE-LABlab(46.22, 61.39, -36.04)
CIE-LCHlch(46.22, 71.19, 329.59°)
OKLaboklab(56.26% 0.1741 -0.0992)
OKLCHoklch(56.26% 0.2 330.3)
XYZxyz(27.2237, 15.4334, 40.0653)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23AAB #3AB241
analogous
#7D3AB2 #B23AAB #B23A6F
triadic
#B23AAB #ABB23A #3AABB2
tetradic
#B23AAB #B27D3A #3AB241 #3A6FB2
square
#B23AAB #B27D3A #3AB241 #3A6FB2
split-complementary
#B23AAB #6FB23A #3AB27D
monochromatic
#561C52 #842B7F #B23AAB #CB5FC4 #DA8DD5

Accessibility & contrast

On white

5.14
#B23AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#B23AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23AAB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23AAB#FFFFFF#000000##FFFFFF
##B23AAB1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F63AE
Deuteranopia (green-blind)
#5C73A8
Tritanopia (blue-blind)
#B9486E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b23aab;
/* rgb */ color: rgb(178, 58, 171);
/* oklch */ color: oklch(56.3% 0.200 330.3);
Tailwind
colors: {
  custom: {
    50: '#cc7ac4',
    500: '#b23aab',
    950: '#000000',
  },
}
SCSS
$custom: #b23aab;
$custom-light: #cc7ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#b23aab",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 171
  },
  "hsl": {
    "h": 303.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56259,
    "c": 0.20037,
    "h": 330.3
  },
  "luminance": 0.15431
}

Semantic roles & 50–950 ramp

primary
#B23AAB
secondary
#83C487
accent
#DA564D
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B23AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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