#B23CAA#B23CAA

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

Color values

HEX#B23CAA
RGBrgb(178, 60, 170)
HSLhsl(304, 50%, 47%)
HSVhsv(304, 66%, 70%)
CMYKcmyk(0%, 66.3%, 4.5%, 30.2%)
CIE-LABlab(46.45, 60.45, -35.09)
CIE-LCHlch(46.45, 69.90, 329.87°)
OKLaboklab(56.41% 0.1718 -0.0965)
OKLCHoklch(56.41% 0.197 330.7)
XYZxyz(27.2315, 15.6010, 39.5994)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23CAA #3CB244
analogous
#7F3CB2 #B23CAA #B23C6F
triadic
#B23CAA #AAB23C #3CAAB2
tetradic
#B23CAA #B27F3C #3CB244 #3C6FB2
square
#B23CAA #B27F3C #3CB244 #3C6FB2
split-complementary
#B23CAA #6FB23C #3CB27F
monochromatic
#561D53 #842D7E #B23CAA #CA61C3 #D98FD4

Accessibility & contrast

On white

5.10
#B23CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#B23CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23CAA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23CAA#FFFFFF#000000##FFFFFF
##B23CAA1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3364AD
Deuteranopia (green-blind)
#5E74A7
Tritanopia (blue-blind)
#B9496E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b23caa;
/* rgb */ color: rgb(178, 60, 170);
/* oklch */ color: oklch(56.4% 0.197 330.7);
Tailwind
colors: {
  custom: {
    50: '#cc7bc3',
    500: '#b23caa',
    950: '#000000',
  },
}
SCSS
$custom: #b23caa;
$custom-light: #cc7bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#b23caa",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 170
  },
  "hsl": {
    "h": 304.068,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56405,
    "c": 0.19704,
    "h": 330.7
  },
  "luminance": 0.15599
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B23CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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