#B23CB9#B23CB9

#B23CB9 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.2% C 0.209 H 325.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B23CB9
RGBrgb(178, 60, 185)
HSLhsl(297, 51%, 48%)
HSVhsv(297, 68%, 73%)
CMYKcmyk(3.8%, 67.6%, 0%, 27.5%)
CIE-LABlab(47.24, 62.99, -42.66)
CIE-LCHlch(47.24, 76.08, 325.89°)
OKLaboklab(57.23% 0.1724 -0.1184)
OKLCHoklch(57.23% 0.209 325.5)
XYZxyz(28.7323, 16.2013, 47.5033)
Luminance0.1620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23CB9 #43B93C
analogous
#733CB9 #B23CB9 #B93C81
triadic
#B23CB9 #B9B23C #3CB9B2
tetradic
#B23CB9 #B9733C #43B93C #3C81B9
square
#B23CB9 #B9733C #43B93C #3C81B9
split-complementary
#B23CB9 #81B93C #3CB973
monochromatic
#591E5D #862D8B #B23CB9 #C765CD #D893DC

Accessibility & contrast

On white

4.95
#B23CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#B23CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23CB9
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23CB9#FFFFFF#000000##FFFFFF
##B23CB91.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2267BD
Deuteranopia (green-blind)
#5575B6
Tritanopia (blue-blind)
#B64F76
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b23cb9;
/* rgb */ color: rgb(178, 60, 185);
/* oklch */ color: oklch(57.2% 0.209 325.5);
Tailwind
colors: {
  custom: {
    50: '#cc7bce',
    500: '#b23cb9',
    950: '#000000',
  },
}
SCSS
$custom: #b23cb9;
$custom-light: #cc7bce;
$custom-dark: #000000;
JSON
{
  "hex": "#b23cb9",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 185
  },
  "hsl": {
    "h": 296.64,
    "s": 51.02,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57232,
    "c": 0.20917,
    "h": 325.5
  },
  "luminance": 0.16199
}

Semantic roles & 50–950 ramp

primary
#B23CB9
secondary
#8DC789
accent
#DA4D55
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B23CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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