#B23DB1#B23DB1

#B23DB1 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 56.9% C 0.201 H 328.2°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B23DB1
RGBrgb(178, 61, 177)
HSLhsl(301, 49%, 47%)
HSVhsv(301, 66%, 70%)
CMYKcmyk(0%, 65.7%, 0.6%, 30.2%)
CIE-LABlab(46.95, 61.23, -38.43)
CIE-LCHlch(46.95, 72.29, 327.89°)
OKLaboklab(56.88% 0.1711 -0.1062)
OKLCHoklch(56.88% 0.201 328.2)
XYZxyz(27.9643, 15.9787, 43.1978)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23DB1 #3DB23E
analogous
#793DB2 #B23DB1 #B23D77
triadic
#B23DB1 #B1B23D #3DB1B2
tetradic
#B23DB1 #B2793D #3DB23E #3D77B2
square
#B23DB1 #B2793D #3DB23E #3D77B2
split-complementary
#B23DB1 #77B23D #3DB279
monochromatic
#571E56 #842D84 #B23DB1 #C963C9 #D990D8

Accessibility & contrast

On white

5.01
#B23DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#B23DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23DB1
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23DB1#FFFFFF#000000##FFFFFF
##B23DB11.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E65B4
Deuteranopia (green-blind)
#5B75AE
Tritanopia (blue-blind)
#B84D72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b23db1;
/* rgb */ color: rgb(178, 61, 177);
/* oklch */ color: oklch(56.9% 0.201 328.2);
Tailwind
colors: {
  custom: {
    50: '#cc7cc9',
    500: '#b23db1',
    950: '#000000',
  },
}
SCSS
$custom: #b23db1;
$custom-light: #cc7cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b23db1",
  "rgb": {
    "r": 178,
    "g": 61,
    "b": 177
  },
  "hsl": {
    "h": 300.513,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56883,
    "c": 0.20136,
    "h": 328.2
  },
  "luminance": 0.15977
}

Semantic roles & 50–950 ramp

primary
#B23DB1
secondary
#87C487
accent
#D9504F
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B23DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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