#B23CB0#B23CB0

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

Color values

HEX#B23CB0
RGBrgb(178, 60, 176)
HSLhsl(301, 50%, 47%)
HSVhsv(301, 66%, 70%)
CMYKcmyk(0%, 66.3%, 1.1%, 30.2%)
CIE-LABlab(46.75, 61.45, -38.15)
CIE-LCHlch(46.75, 72.33, 328.17°)
OKLaboklab(56.73% 0.1722 -0.1053)
OKLCHoklch(56.73% 0.202 328.5)
XYZxyz(27.8121, 15.8332, 42.6571)
Luminance0.1583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23CB0 #3CB23E
analogous
#793CB2 #B23CB0 #B23C75
triadic
#B23CB0 #B0B23C #3CB0B2
tetradic
#B23CB0 #B2793C #3CB23E #3C75B2
square
#B23CB0 #B2793C #3CB23E #3C75B2
split-complementary
#B23CB0 #75B23C #3CB279
monochromatic
#561D55 #842D83 #B23CB0 #CA61C8 #D98FD8

Accessibility & contrast

On white

5.04
#B23CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B23CB0
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23CB0#FFFFFF#000000##FFFFFF
##B23CB01.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D65B3
Deuteranopia (green-blind)
#5B74AD
Tritanopia (blue-blind)
#B84B71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b23cb0;
/* rgb */ color: rgb(178, 60, 176);
/* oklch */ color: oklch(56.7% 0.202 328.5);
Tailwind
colors: {
  custom: {
    50: '#cc7bc8',
    500: '#b23cb0',
    950: '#000000',
  },
}
SCSS
$custom: #b23cb0;
$custom-light: #cc7bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#b23cb0",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 176
  },
  "hsl": {
    "h": 301.017,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56728,
    "c": 0.20182,
    "h": 328.5
  },
  "luminance": 0.15831
}

Semantic roles & 50–950 ramp

primary
#B23CB0
secondary
#86C487
accent
#D9514F
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B23CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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