#B23CB2#B23CB2

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

Color values

HEX#B23CB2
RGBrgb(178, 60, 178)
HSLhsl(300, 50%, 47%)
HSVhsv(300, 66%, 70%)
CMYKcmyk(0%, 66.3%, 0%, 30.2%)
CIE-LABlab(46.86, 61.79, -39.16)
CIE-LCHlch(46.86, 73.15, 327.64°)
OKLaboklab(56.84% 0.1722 -0.1083)
OKLCHoklch(56.84% 0.203 327.8)
XYZxyz(28.0115, 15.9130, 43.7070)
Luminance0.1591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23CB2 #3CB23C
analogous
#773CB2 #B23CB2 #B23C77
triadic
#B23CB2 #B2B23C #3CB2B2
tetradic
#B23CB2 #B2773C #3CB23C #3C77B2
square
#B23CB2 #B2773C #3CB23C #3C77B2
split-complementary
#B23CB2 #77B23C #3CB277
monochromatic
#561D56 #842D84 #B23CB2 #CA61CA #D98FD9

Accessibility & contrast

On white

5.02
#B23CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B23CB2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23CB2#FFFFFF#000000##FFFFFF
##B23CB21.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B65B5
Deuteranopia (green-blind)
#5974AF
Tritanopia (blue-blind)
#B74C72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b23cb2;
/* rgb */ color: rgb(178, 60, 178);
/* oklch */ color: oklch(56.8% 0.203 327.8);
Tailwind
colors: {
  custom: {
    50: '#cc7bc9',
    500: '#b23cb2',
    950: '#000000',
  },
}
SCSS
$custom: #b23cb2;
$custom-light: #cc7bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b23cb2",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 300,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56838,
    "c": 0.20344,
    "h": 327.8
  },
  "luminance": 0.15911
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B23CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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