#B23BB4#B23BB4

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

Color values

HEX#B23BB4
RGBrgb(178, 59, 180)
HSLhsl(299, 51%, 47%)
HSVhsv(299, 67%, 71%)
CMYKcmyk(1.1%, 67.2%, 0%, 29.4%)
CIE-LABlab(46.83, 62.51, -40.38)
CIE-LCHlch(46.83, 74.42, 327.14°)
OKLaboklab(56.85% 0.1734 -0.1118)
OKLCHoklch(56.85% 0.206 327.2)
XYZxyz(28.1618, 15.8901, 44.7550)
Luminance0.1589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23BB4 #3DB43B
analogous
#763BB4 #B23BB4 #B43B7A
triadic
#B23BB4 #B4B23B #3BB4B2
tetradic
#B23BB4 #B4763B #3DB43B #3B7AB4
square
#B23BB4 #B4763B #3DB43B #3B7AB4
split-complementary
#B23BB4 #7AB43B #3BB476
monochromatic
#571D58 #842C86 #B23BB4 #C961CB #D98FDA

Accessibility & contrast

On white

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

On black

4.18
#B23BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B23BB4#FFFFFF#000000##FFFFFF
##B23BB41.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2765B7
Deuteranopia (green-blind)
#5874B1
Tritanopia (blue-blind)
#B74C73
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b23bb4;
/* rgb */ color: rgb(178, 59, 180);
/* oklch */ color: oklch(56.9% 0.206 327.2);
Tailwind
colors: {
  custom: {
    50: '#cc7bcb',
    500: '#b23bb4',
    950: '#000000',
  },
}
SCSS
$custom: #b23bb4;
$custom-light: #cc7bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#b23bb4",
  "rgb": {
    "r": 178,
    "g": 59,
    "b": 180
  },
  "hsl": {
    "h": 299.008,
    "s": 50.628,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56851,
    "c": 0.20631,
    "h": 327.2
  },
  "luminance": 0.15888
}

Semantic roles & 50–950 ramp

primary
#B23BB4
secondary
#87C586
accent
#DA4E50
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B23BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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