#B23CA9#B23CA9

#B23CA9 is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.4% C 0.196 H 331.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B23CA9
RGBrgb(178, 60, 169)
HSLhsl(305, 50%, 47%)
HSVhsv(305, 66%, 70%)
CMYKcmyk(0%, 66.3%, 5.1%, 30.2%)
CIE-LABlab(46.40, 60.29, -34.58)
CIE-LCHlch(46.40, 69.50, 330.16°)
OKLaboklab(56.35% 0.1717 -0.095)
OKLCHoklch(56.35% 0.196 331)
XYZxyz(27.1373, 15.5633, 39.1031)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23CA9 #3CB245
analogous
#803CB2 #B23CA9 #B23C6E
triadic
#B23CA9 #A9B23C #3CA9B2
tetradic
#B23CA9 #B2803C #3CB245 #3C6EB2
square
#B23CA9 #B2803C #3CB245 #3C6EB2
split-complementary
#B23CA9 #6EB23C #3CB280
monochromatic
#561D52 #842D7E #B23CA9 #CA61C2 #D98FD4

Accessibility & contrast

On white

5.11
#B23CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#B23CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23CA9
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23CA9#FFFFFF#000000##FFFFFF
##B23CA91.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3463AC
Deuteranopia (green-blind)
#5E74A6
Tritanopia (blue-blind)
#B9496D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b23ca9;
/* rgb */ color: rgb(178, 60, 169);
/* oklch */ color: oklch(56.4% 0.196 331.0);
Tailwind
colors: {
  custom: {
    50: '#cc7bc3',
    500: '#b23ca9',
    950: '#000000',
  },
}
SCSS
$custom: #b23ca9;
$custom-light: #cc7bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ca9",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 169
  },
  "hsl": {
    "h": 304.576,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56352,
    "c": 0.19625,
    "h": 331
  },
  "luminance": 0.15561
}

Semantic roles & 50–950 ramp

primary
#B23CA9
secondary
#86C48A
accent
#D9594F
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A12
muted
#827C81

Preview Lab

Preview with #B23CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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