#B23AA0#B23AA0

#B23AA0 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.7% C 0.192 H 334.4°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B23AA0
RGBrgb(178, 58, 160)
HSLhsl(309, 51%, 46%)
HSVhsv(309, 67%, 70%)
CMYKcmyk(0%, 67.4%, 10.1%, 30.2%)
CIE-LABlab(45.68, 59.63, -30.37)
CIE-LCHlch(45.68, 66.92, 333.01°)
OKLaboklab(55.69% 0.1731 -0.0829)
OKLCHoklch(55.69% 0.192 334.4)
XYZxyz(26.2185, 15.0313, 34.7714)
Luminance0.1503 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23AA0 #3AB24C
analogous
#883AB2 #B23AA0 #B23A64
triadic
#B23AA0 #A0B23A #3AA0B2
tetradic
#B23AA0 #B2883A #3AB24C #3A64B2
square
#B23AA0 #B2883A #3AB24C #3A64B2
split-complementary
#B23AA0 #64B23A #3AB288
monochromatic
#561C4D #842B77 #B23AA0 #CB5FBA #DA8DCE

Accessibility & contrast

On white

5.24
#B23AA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#B23AA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23AA0
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23AA0#FFFFFF#000000##FFFFFF
##B23AA01.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3961A3
Deuteranopia (green-blind)
#61729D
Tritanopia (blue-blind)
#BA4368
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b23aa0;
/* rgb */ color: rgb(178, 58, 160);
/* oklch */ color: oklch(55.7% 0.192 334.4);
Tailwind
colors: {
  custom: {
    50: '#cc7abc',
    500: '#b23aa0',
    950: '#000000',
  },
}
SCSS
$custom: #b23aa0;
$custom-light: #cc7abc;
$custom-dark: #000000;
JSON
{
  "hex": "#b23aa0",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 160
  },
  "hsl": {
    "h": 309,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55687,
    "c": 0.19194,
    "h": 334.4
  },
  "luminance": 0.15029
}

Semantic roles & 50–950 ramp

primary
#B23AA0
secondary
#83C48D
accent
#DA634D
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B23AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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