#B23CA3#B23CA3

#B23CA3 is a mid, vivid purple. Relative luminance 0.153; OKLCH L 56.0% C 0.192 H 333.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B23CA3
RGBrgb(178, 60, 163)
HSLhsl(308, 50%, 47%)
HSVhsv(308, 66%, 70%)
CMYKcmyk(0%, 66.3%, 8.4%, 30.2%)
CIE-LABlab(46.10, 59.32, -31.49)
CIE-LCHlch(46.10, 67.16, 332.04°)
OKLaboklab(56.04% 0.1712 -0.0861)
OKLCHoklch(56.04% 0.192 333.3)
XYZxyz(26.5869, 15.3432, 36.2045)
Luminance0.1534 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23CA3 #3CB24B
analogous
#863CB2 #B23CA3 #B23C68
triadic
#B23CA3 #A3B23C #3CA3B2
tetradic
#B23CA3 #B2863C #3CB24B #3C68B2
square
#B23CA3 #B2863C #3CB24B #3C68B2
split-complementary
#B23CA3 #68B23C #3CB286
monochromatic
#561D4F #842D79 #B23CA3 #CA61BD #D98FD0

Accessibility & contrast

On white

5.16
#B23CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#B23CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23CA3
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23CA3#FFFFFF#000000##FFFFFF
##B23CA31.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3962A6
Deuteranopia (green-blind)
#6173A0
Tritanopia (blue-blind)
#BA466A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b23ca3;
/* rgb */ color: rgb(178, 60, 163);
/* oklch */ color: oklch(56.0% 0.192 333.3);
Tailwind
colors: {
  custom: {
    50: '#cc7bbe',
    500: '#b23ca3',
    950: '#000000',
  },
}
SCSS
$custom: #b23ca3;
$custom-light: #cc7bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ca3",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 163
  },
  "hsl": {
    "h": 307.627,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56042,
    "c": 0.19161,
    "h": 333.3
  },
  "luminance": 0.15341
}

Semantic roles & 50–950 ramp

primary
#B23CA3
secondary
#86C48E
accent
#D9604F
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B23CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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