#B23DA5#B23DA5

#B23DA5 is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.2% C 0.192 H 332.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B23DA5
RGBrgb(178, 61, 165)
HSLhsl(307, 49%, 47%)
HSVhsv(307, 66%, 70%)
CMYKcmyk(0%, 65.7%, 7.3%, 30.2%)
CIE-LABlab(46.34, 59.25, -32.30)
CIE-LCHlch(46.34, 67.48, 331.40°)
OKLaboklab(56.25% 0.1702 -0.0885)
OKLCHoklch(56.25% 0.192 332.5)
XYZxyz(26.8204, 15.5212, 37.1733)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23DA5 #3DB24A
analogous
#853DB2 #B23DA5 #B23D6A
triadic
#B23DA5 #A5B23D #3DA5B2
tetradic
#B23DA5 #B2853D #3DB24A #3D6AB2
square
#B23DA5 #B2853D #3DB24A #3D6AB2
split-complementary
#B23DA5 #6AB23D #3DB285
monochromatic
#571E50 #842D7B #B23DA5 #C963BE #D990D1

Accessibility & contrast

On white

5.12
#B23DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#B23DA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23DA5
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23DA5#FFFFFF#000000##FFFFFF
##B23DA51.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3863A8
Deuteranopia (green-blind)
#6074A2
Tritanopia (blue-blind)
#BA486C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b23da5;
/* rgb */ color: rgb(178, 61, 165);
/* oklch */ color: oklch(56.2% 0.192 332.5);
Tailwind
colors: {
  custom: {
    50: '#cc7bc0',
    500: '#b23da5',
    950: '#000000',
  },
}
SCSS
$custom: #b23da5;
$custom-light: #cc7bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#b23da5",
  "rgb": {
    "r": 178,
    "g": 61,
    "b": 165
  },
  "hsl": {
    "h": 306.667,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56247,
    "c": 0.19183,
    "h": 332.5
  },
  "luminance": 0.15519
}

Semantic roles & 50–950 ramp

primary
#B23DA5
secondary
#87C48E
accent
#D95F4F
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B23DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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