#B23CA5#B23CA5

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

Color values

HEX#B23CA5
RGBrgb(178, 60, 165)
HSLhsl(307, 50%, 47%)
HSVhsv(307, 66%, 70%)
CMYKcmyk(0%, 66.3%, 7.3%, 30.2%)
CIE-LABlab(46.20, 59.64, -32.52)
CIE-LCHlch(46.20, 67.93, 331.40°)
OKLaboklab(56.14% 0.1714 -0.0891)
OKLCHoklch(56.14% 0.193 332.5)
XYZxyz(26.7675, 15.4154, 37.1557)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23CA5 #3CB249
analogous
#843CB2 #B23CA5 #B23C6A
triadic
#B23CA5 #A5B23C #3CA5B2
tetradic
#B23CA5 #B2843C #3CB249 #3C6AB2
square
#B23CA5 #B2843C #3CB249 #3C6AB2
split-complementary
#B23CA5 #6AB23C #3CB284
monochromatic
#561D50 #842D7B #B23CA5 #CA61BE #D98FD1

Accessibility & contrast

On white

5.14
#B23CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B23CA5
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23CA5#FFFFFF#000000##FFFFFF
##B23CA51.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3763A8
Deuteranopia (green-blind)
#6073A2
Tritanopia (blue-blind)
#BA476B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b23ca5;
/* rgb */ color: rgb(178, 60, 165);
/* oklch */ color: oklch(56.1% 0.193 332.5);
Tailwind
colors: {
  custom: {
    50: '#cc7bc0',
    500: '#b23ca5',
    950: '#000000',
  },
}
SCSS
$custom: #b23ca5;
$custom-light: #cc7bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ca5",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 306.61,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56144,
    "c": 0.19314,
    "h": 332.5
  },
  "luminance": 0.15413
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B23CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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