#B23CA1#B23CA1

#B23CA1 is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.9% C 0.190 H 334.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B23CA1
RGBrgb(178, 60, 161)
HSLhsl(309, 50%, 47%)
HSVhsv(309, 66%, 70%)
CMYKcmyk(0%, 66.3%, 9.6%, 30.2%)
CIE-LABlab(46.00, 59.01, -30.45)
CIE-LCHlch(46.00, 66.40, 332.71°)
OKLaboklab(55.94% 0.1709 -0.0832)
OKLCHoklch(55.94% 0.19 334.1)
XYZxyz(26.4092, 15.2720, 35.2682)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23CA1 #3CB24D
analogous
#883CB2 #B23CA1 #B23C66
triadic
#B23CA1 #A1B23C #3CA1B2
tetradic
#B23CA1 #B2883C #3CB24D #3C66B2
square
#B23CA1 #B2883C #3CB24D #3C66B2
split-complementary
#B23CA1 #66B23C #3CB288
monochromatic
#561D4E #842D78 #B23CA1 #CA61BB #D98FCF

Accessibility & contrast

On white

5.18
#B23CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#B23CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23CA1
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23CA1#FFFFFF#000000##FFFFFF
##B23CA11.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A62A4
Deuteranopia (green-blind)
#62739E
Tritanopia (blue-blind)
#BA4569
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b23ca1;
/* rgb */ color: rgb(178, 60, 161);
/* oklch */ color: oklch(55.9% 0.190 334.1);
Tailwind
colors: {
  custom: {
    50: '#cc7bbd',
    500: '#b23ca1',
    950: '#000000',
  },
}
SCSS
$custom: #b23ca1;
$custom-light: #cc7bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ca1",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 161
  },
  "hsl": {
    "h": 308.644,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55941,
    "c": 0.19009,
    "h": 334.1
  },
  "luminance": 0.1527
}

Semantic roles & 50–950 ramp

primary
#B23CA1
secondary
#86C48F
accent
#D9634F
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B23CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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