#B23BAC#B23BAC

#B23BAC is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.4% C 0.200 H 330.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B23BAC
RGBrgb(178, 59, 172)
HSLhsl(303, 50%, 46%)
HSVhsv(303, 67%, 70%)
CMYKcmyk(0%, 66.9%, 3.4%, 30.2%)
CIE-LABlab(46.41, 61.17, -36.33)
CIE-LCHlch(46.41, 71.15, 329.29°)
OKLaboklab(56.41% 0.173 -0.1001)
OKLCHoklch(56.41% 0.2 330)
XYZxyz(27.3703, 15.5735, 40.5861)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23BAC #3BB241
analogous
#7D3BB2 #B23BAC #B23B71
triadic
#B23BAC #ACB23B #3BACB2
tetradic
#B23BAC #B27D3B #3BB241 #3B71B2
square
#B23BAC #B27D3B #3BB241 #3B71B2
split-complementary
#B23BAC #71B23B #3BB27D
monochromatic
#561D53 #842C80 #B23BAC #CA60C5 #DA8ED6

Accessibility & contrast

On white

5.10
#B23BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B23BAC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23BAC#FFFFFF#000000##FFFFFF
##B23BAC1.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3064AF
Deuteranopia (green-blind)
#5C74A9
Tritanopia (blue-blind)
#B8496F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b23bac;
/* rgb */ color: rgb(178, 59, 172);
/* oklch */ color: oklch(56.4% 0.200 330.0);
Tailwind
colors: {
  custom: {
    50: '#cc7bc5',
    500: '#b23bac',
    950: '#000000',
  },
}
SCSS
$custom: #b23bac;
$custom-light: #cc7bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#b23bac",
  "rgb": {
    "r": 178,
    "g": 59,
    "b": 172
  },
  "hsl": {
    "h": 303.025,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56411,
    "c": 0.19989,
    "h": 330
  },
  "luminance": 0.15571
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B23BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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