#B23DA9#B23DA9

#B23DA9 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.5% C 0.195 H 331.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B23DA9
RGBrgb(178, 61, 169)
HSLhsl(305, 49%, 47%)
HSVhsv(305, 66%, 70%)
CMYKcmyk(0%, 65.7%, 5.1%, 30.2%)
CIE-LABlab(46.54, 59.90, -34.36)
CIE-LCHlch(46.54, 69.05, 330.16°)
OKLaboklab(56.45% 0.1706 -0.0944)
OKLCHoklch(56.45% 0.195 331)
XYZxyz(27.1902, 15.6691, 39.1208)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23DA9 #3DB246
analogous
#803DB2 #B23DA9 #B23D6F
triadic
#B23DA9 #A9B23D #3DA9B2
tetradic
#B23DA9 #B2803D #3DB246 #3D6FB2
square
#B23DA9 #B2803D #3DB246 #3D6FB2
split-complementary
#B23DA9 #6FB23D #3DB280
monochromatic
#571E52 #842D7E #B23DA9 #C963C2 #D990D3

Accessibility & contrast

On white

5.08
#B23DA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#B23DA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23DA9
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23DA9#FFFFFF#000000##FFFFFF
##B23DA91.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3564AC
Deuteranopia (green-blind)
#5F74A6
Tritanopia (blue-blind)
#B9496E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b23da9;
/* rgb */ color: rgb(178, 61, 169);
/* oklch */ color: oklch(56.5% 0.195 331.0);
Tailwind
colors: {
  custom: {
    50: '#cc7bc3',
    500: '#b23da9',
    950: '#000000',
  },
}
SCSS
$custom: #b23da9;
$custom-light: #cc7bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#b23da9",
  "rgb": {
    "r": 178,
    "g": 61,
    "b": 169
  },
  "hsl": {
    "h": 304.615,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56454,
    "c": 0.19496,
    "h": 331
  },
  "luminance": 0.15667
}

Semantic roles & 50–950 ramp

primary
#B23DA9
secondary
#87C48B
accent
#D95A4F
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A12
muted
#827C81

Preview Lab

Preview with #B23DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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