#B23AAC#B23AAC

#B23AAC is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.3% C 0.201 H 330.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B23AAC
RGBrgb(178, 58, 172)
HSLhsl(303, 51%, 46%)
HSVhsv(303, 67%, 70%)
CMYKcmyk(0%, 67.4%, 3.4%, 30.2%)
CIE-LABlab(46.27, 61.55, -36.55)
CIE-LCHlch(46.27, 71.59, 329.30°)
OKLaboklab(56.31% 0.1741 -0.1007)
OKLCHoklch(56.31% 0.201 330)
XYZxyz(27.3194, 15.4717, 40.5692)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23AAC #3AB240
analogous
#7C3AB2 #B23AAC #B23A70
triadic
#B23AAC #ACB23A #3AACB2
tetradic
#B23AAC #B27C3A #3AB240 #3A70B2
square
#B23AAC #B27C3A #3AB240 #3A70B2
split-complementary
#B23AAC #70B23A #3AB27C
monochromatic
#561C53 #842B7F #B23AAC #CB5FC5 #DA8DD6

Accessibility & contrast

On white

5.13
#B23AAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B23AAC
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23AAC#FFFFFF#000000##FFFFFF
##B23AAC1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E63AF
Deuteranopia (green-blind)
#5C73A9
Tritanopia (blue-blind)
#B8486E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b23aac;
/* rgb */ color: rgb(178, 58, 172);
/* oklch */ color: oklch(56.3% 0.201 330.0);
Tailwind
colors: {
  custom: {
    50: '#cc7ac5',
    500: '#b23aac',
    950: '#000000',
  },
}
SCSS
$custom: #b23aac;
$custom-light: #cc7ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#b23aac",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 172
  },
  "hsl": {
    "h": 303,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56313,
    "c": 0.20116,
    "h": 330
  },
  "luminance": 0.1547
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B23AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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