#B23BB1#B23BB1

#B23BB1 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.7% C 0.204 H 328.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B23BB1
RGBrgb(178, 59, 177)
HSLhsl(301, 50%, 46%)
HSVhsv(301, 67%, 70%)
CMYKcmyk(0%, 66.9%, 0.6%, 30.2%)
CIE-LABlab(46.67, 62.01, -38.87)
CIE-LCHlch(46.67, 73.18, 327.92°)
OKLaboklab(56.68% 0.1733 -0.1074)
OKLCHoklch(56.68% 0.204 328.2)
XYZxyz(27.8595, 15.7692, 43.1628)
Luminance0.1577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23BB1 #3BB23C
analogous
#783BB2 #B23BB1 #B23B76
triadic
#B23BB1 #B1B23B #3BB1B2
tetradic
#B23BB1 #B2783B #3BB23C #3B76B2
square
#B23BB1 #B2783B #3BB23C #3B76B2
split-complementary
#B23BB1 #76B23B #3BB278
monochromatic
#561D56 #842C83 #B23BB1 #CA60C9 #DA8ED9

Accessibility & contrast

On white

5.06
#B23BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#B23BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23BB1
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23BB1#FFFFFF#000000##FFFFFF
##B23BB11.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B65B4
Deuteranopia (green-blind)
#5974AE
Tritanopia (blue-blind)
#B84B71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b23bb1;
/* rgb */ color: rgb(178, 59, 177);
/* oklch */ color: oklch(56.7% 0.204 328.2);
Tailwind
colors: {
  custom: {
    50: '#cc7bc9',
    500: '#b23bb1',
    950: '#000000',
  },
}
SCSS
$custom: #b23bb1;
$custom-light: #cc7bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b23bb1",
  "rgb": {
    "r": 178,
    "g": 59,
    "b": 177
  },
  "hsl": {
    "h": 300.504,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56684,
    "c": 0.20389,
    "h": 328.2
  },
  "luminance": 0.15767
}

Semantic roles & 50–950 ramp

primary
#B23BB1
secondary
#85C485
accent
#DA4F4E
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B23BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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