#B23CA8#B23CA8

#B23CA8 is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.3% C 0.195 H 331.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B23CA8
RGBrgb(178, 60, 168)
HSLhsl(305, 50%, 47%)
HSVhsv(305, 66%, 70%)
CMYKcmyk(0%, 66.3%, 5.6%, 30.2%)
CIE-LABlab(46.35, 60.13, -34.07)
CIE-LCHlch(46.35, 69.11, 330.46°)
OKLaboklab(56.3% 0.1716 -0.0936)
OKLCHoklch(56.3% 0.195 331.4)
XYZxyz(27.0438, 15.5259, 38.6106)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23CA8 #3CB246
analogous
#813CB2 #B23CA8 #B23C6D
triadic
#B23CA8 #A8B23C #3CA8B2
tetradic
#B23CA8 #B2813C #3CB246 #3C6DB2
square
#B23CA8 #B2813C #3CB246 #3C6DB2
split-complementary
#B23CA8 #6DB23C #3CB281
monochromatic
#561D52 #842D7D #B23CA8 #CA61C1 #D98FD3

Accessibility & contrast

On white

5.12
#B23CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#B23CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23CA8
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23CA8#FFFFFF#000000##FFFFFF
##B23CA81.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3563AB
Deuteranopia (green-blind)
#5E74A5
Tritanopia (blue-blind)
#B9486D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b23ca8;
/* rgb */ color: rgb(178, 60, 168);
/* oklch */ color: oklch(56.3% 0.195 331.4);
Tailwind
colors: {
  custom: {
    50: '#cc7bc2',
    500: '#b23ca8',
    950: '#000000',
  },
}
SCSS
$custom: #b23ca8;
$custom-light: #cc7bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ca8",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 168
  },
  "hsl": {
    "h": 305.085,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.563,
    "c": 0.19547,
    "h": 331.4
  },
  "luminance": 0.15524
}

Semantic roles & 50–950 ramp

primary
#B23CA8
secondary
#86C48B
accent
#D95A4F
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A12
muted
#827C81

Preview Lab

Preview with #B23CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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