#B23DAC#B23DAC

#B23DAC is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.6% C 0.197 H 329.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B23DAC
RGBrgb(178, 61, 172)
HSLhsl(303, 49%, 47%)
HSVhsv(303, 66%, 70%)
CMYKcmyk(0%, 65.7%, 3.4%, 30.2%)
CIE-LABlab(46.69, 60.39, -35.89)
CIE-LCHlch(46.69, 70.25, 329.27°)
OKLaboklab(56.61% 0.1708 -0.0988)
OKLCHoklch(56.61% 0.197 329.9)
XYZxyz(27.4751, 15.7830, 40.6211)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23DAC #3DB243
analogous
#7E3DB2 #B23DAC #B23D72
triadic
#B23DAC #ACB23D #3DACB2
tetradic
#B23DAC #B27E3D #3DB243 #3D72B2
square
#B23DAC #B27E3D #3DB243 #3D72B2
split-complementary
#B23DAC #72B23D #3DB27E
monochromatic
#571E54 #842D80 #B23DAC #C963C4 #D990D5

Accessibility & contrast

On white

5.05
#B23DAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#B23DAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23DAC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23DAC#FFFFFF#000000##FFFFFF
##B23DAC1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3264AF
Deuteranopia (green-blind)
#5D74A9
Tritanopia (blue-blind)
#B84B6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b23dac;
/* rgb */ color: rgb(178, 61, 172);
/* oklch */ color: oklch(56.6% 0.197 329.9);
Tailwind
colors: {
  custom: {
    50: '#cc7cc5',
    500: '#b23dac',
    950: '#000000',
  },
}
SCSS
$custom: #b23dac;
$custom-light: #cc7cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#b23dac",
  "rgb": {
    "r": 178,
    "g": 61,
    "b": 172
  },
  "hsl": {
    "h": 303.077,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56613,
    "c": 0.19733,
    "h": 329.9
  },
  "luminance": 0.15781
}

Semantic roles & 50–950 ramp

primary
#B23DAC
secondary
#87C48A
accent
#D9564F
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B23DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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