#B23BAD#B23BAD

#B23BAD is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.5% C 0.201 H 329.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B23BAD
RGBrgb(178, 59, 173)
HSLhsl(303, 50%, 46%)
HSVhsv(303, 67%, 70%)
CMYKcmyk(0%, 66.9%, 2.8%, 30.2%)
CIE-LABlab(46.46, 61.34, -36.84)
CIE-LCHlch(46.46, 71.55, 329.01°)
OKLaboklab(56.47% 0.1731 -0.1016)
OKLCHoklch(56.47% 0.201 329.6)
XYZxyz(27.4667, 15.6120, 41.0938)
Luminance0.1561 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23BAD #3BB240
analogous
#7C3BB2 #B23BAD #B23B72
triadic
#B23BAD #ADB23B #3BADB2
tetradic
#B23BAD #B27C3B #3BB240 #3B72B2
square
#B23BAD #B27C3B #3BB240 #3B72B2
split-complementary
#B23BAD #72B23B #3BB27C
monochromatic
#561D54 #842C80 #B23BAD #CA60C6 #DA8ED6

Accessibility & contrast

On white

5.09
#B23BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#B23BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23BAD
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23BAD#FFFFFF#000000##FFFFFF
##B23BAD1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F64B0
Deuteranopia (green-blind)
#5C74AA
Tritanopia (blue-blind)
#B8496F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b23bad;
/* rgb */ color: rgb(178, 59, 173);
/* oklch */ color: oklch(56.5% 0.201 329.6);
Tailwind
colors: {
  custom: {
    50: '#cc7bc6',
    500: '#b23bad',
    950: '#000000',
  },
}
SCSS
$custom: #b23bad;
$custom-light: #cc7bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#b23bad",
  "rgb": {
    "r": 178,
    "g": 59,
    "b": 173
  },
  "hsl": {
    "h": 302.521,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56465,
    "c": 0.20069,
    "h": 329.6
  },
  "luminance": 0.1561
}

Semantic roles & 50–950 ramp

primary
#B23BAD
secondary
#85C487
accent
#DA544E
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B23BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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