#B23CBD#B23CBD

#B23CBD is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.5% C 0.212 H 324.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B23CBD
RGBrgb(178, 60, 189)
HSLhsl(295, 52%, 49%)
HSVhsv(295, 68%, 74%)
CMYKcmyk(5.8%, 68.3%, 0%, 25.9%)
CIE-LABlab(47.46, 63.69, -44.64)
CIE-LCHlch(47.46, 77.78, 324.98°)
OKLaboklab(57.46% 0.1724 -0.1242)
OKLCHoklch(57.46% 0.213 324.2)
XYZxyz(29.1605, 16.3726, 49.7585)
Luminance0.1637 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23CBD #47BD3C
analogous
#723CBD #B23CBD #BD3C88
triadic
#B23CBD #BDB23C #3CBDB2
tetradic
#B23CBD #BD723C #47BD3C #3C88BD
square
#B23CBD #BD723C #47BD3C #3C88BD
split-complementary
#B23CBD #88BD3C #3CBD72
monochromatic
#5B1F60 #862D8F #B23CBD #C667CF #D796DE

Accessibility & contrast

On white

4.91
#B23CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#B23CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23CBD
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23CBD#FFFFFF#000000##FFFFFF
##B23CBD1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B67C1
Deuteranopia (green-blind)
#5375BA
Tritanopia (blue-blind)
#B55178
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b23cbd;
/* rgb */ color: rgb(178, 60, 189);
/* oklch */ color: oklch(57.5% 0.212 324.2);
Tailwind
colors: {
  custom: {
    50: '#cd7cd1',
    500: '#b23cbd',
    950: '#000000',
  },
}
SCSS
$custom: #b23cbd;
$custom-light: #cd7cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#b23cbd",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 189
  },
  "hsl": {
    "h": 294.884,
    "s": 51.807,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57463,
    "c": 0.2125,
    "h": 324.2
  },
  "luminance": 0.16371
}

Semantic roles & 50–950 ramp

primary
#B23CBD
secondary
#91C98C
accent
#DB4D59
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B23CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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