#B23CB1#B23CB1

#B23CB1 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 56.8% C 0.203 H 328.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B23CB1
RGBrgb(178, 60, 177)
HSLhsl(301, 50%, 47%)
HSVhsv(301, 66%, 70%)
CMYKcmyk(0%, 66.3%, 0.6%, 30.2%)
CIE-LABlab(46.81, 61.62, -38.65)
CIE-LCHlch(46.81, 72.74, 327.90°)
OKLaboklab(56.78% 0.1722 -0.1068)
OKLCHoklch(56.78% 0.203 328.2)
XYZxyz(27.9114, 15.8729, 43.1801)
Luminance0.1587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23CB1 #3CB23D
analogous
#783CB2 #B23CB1 #B23C76
triadic
#B23CB1 #B1B23C #3CB1B2
tetradic
#B23CB1 #B2783C #3CB23D #3C76B2
square
#B23CB1 #B2783C #3CB23D #3C76B2
split-complementary
#B23CB1 #76B23C #3CB278
monochromatic
#561D56 #842D83 #B23CB1 #CA61C9 #D98FD9

Accessibility & contrast

On white

5.03
#B23CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#B23CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23CB1
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23CB1#FFFFFF#000000##FFFFFF
##B23CB11.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C65B4
Deuteranopia (green-blind)
#5A74AE
Tritanopia (blue-blind)
#B84C72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b23cb1;
/* rgb */ color: rgb(178, 60, 177);
/* oklch */ color: oklch(56.8% 0.203 328.2);
Tailwind
colors: {
  custom: {
    50: '#cc7bc9',
    500: '#b23cb1',
    950: '#000000',
  },
}
SCSS
$custom: #b23cb1;
$custom-light: #cc7bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b23cb1",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 177
  },
  "hsl": {
    "h": 300.508,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56783,
    "c": 0.20262,
    "h": 328.2
  },
  "luminance": 0.15871
}

Semantic roles & 50–950 ramp

primary
#B23CB1
secondary
#86C486
accent
#D9504F
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B23CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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