#B23CA4#B23CA4

#B23CA4 is a mid, vivid purple. Relative luminance 0.154; OKLCH L 56.1% C 0.192 H 332.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B23CA4
RGBrgb(178, 60, 164)
HSLhsl(307, 50%, 47%)
HSVhsv(307, 66%, 70%)
CMYKcmyk(0%, 66.3%, 7.9%, 30.2%)
CIE-LABlab(46.15, 59.48, -32.01)
CIE-LCHlch(46.15, 67.55, 331.72°)
OKLaboklab(56.09% 0.1713 -0.0876)
OKLCHoklch(56.09% 0.192 332.9)
XYZxyz(26.6769, 15.3791, 36.6782)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23CA4 #3CB24A
analogous
#853CB2 #B23CA4 #B23C69
triadic
#B23CA4 #A4B23C #3CA4B2
tetradic
#B23CA4 #B2853C #3CB24A #3C69B2
square
#B23CA4 #B2853C #3CB24A #3C69B2
split-complementary
#B23CA4 #69B23C #3CB285
monochromatic
#561D50 #842D7A #B23CA4 #CA61BD #D98FD0

Accessibility & contrast

On white

5.15
#B23CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#B23CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23CA4
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23CA4#FFFFFF#000000##FFFFFF
##B23CA41.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3862A7
Deuteranopia (green-blind)
#6073A1
Tritanopia (blue-blind)
#BA466B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b23ca4;
/* rgb */ color: rgb(178, 60, 164);
/* oklch */ color: oklch(56.1% 0.192 332.9);
Tailwind
colors: {
  custom: {
    50: '#cc7bbf',
    500: '#b23ca4',
    950: '#000000',
  },
}
SCSS
$custom: #b23ca4;
$custom-light: #cc7bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ca4",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 164
  },
  "hsl": {
    "h": 307.119,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56093,
    "c": 0.19237,
    "h": 332.9
  },
  "luminance": 0.15377
}

Semantic roles & 50–950 ramp

primary
#B23CA4
secondary
#86C48D
accent
#D95F4F
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B23CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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