#B23AA4#B23AA4

#B23AA4 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.9% C 0.195 H 332.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B23AA4
RGBrgb(178, 58, 164)
HSLhsl(307, 51%, 46%)
HSVhsv(307, 67%, 70%)
CMYKcmyk(0%, 67.4%, 7.9%, 30.2%)
CIE-LABlab(45.87, 60.26, -32.44)
CIE-LCHlch(45.87, 68.44, 331.70°)
OKLaboklab(55.89% 0.1735 -0.0889)
OKLCHoklch(55.89% 0.195 332.9)
XYZxyz(26.5741, 15.1735, 36.6439)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23AA4 #3AB248
analogous
#843AB2 #B23AA4 #B23A68
triadic
#B23AA4 #A4B23A #3AA4B2
tetradic
#B23AA4 #B2843A #3AB248 #3A68B2
square
#B23AA4 #B2843A #3AB248 #3A68B2
split-complementary
#B23AA4 #68B23A #3AB284
monochromatic
#561C4F #842B79 #B23AA4 #CB5FBE #DA8DD1

Accessibility & contrast

On white

5.21
#B23AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B23AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23AA4
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23AA4#FFFFFF#000000##FFFFFF
##B23AA41.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3662A7
Deuteranopia (green-blind)
#5F73A1
Tritanopia (blue-blind)
#BA456A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b23aa4;
/* rgb */ color: rgb(178, 58, 164);
/* oklch */ color: oklch(55.9% 0.195 332.9);
Tailwind
colors: {
  custom: {
    50: '#cc7abf',
    500: '#b23aa4',
    950: '#000000',
  },
}
SCSS
$custom: #b23aa4;
$custom-light: #cc7abf;
$custom-dark: #000000;
JSON
{
  "hex": "#b23aa4",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 164
  },
  "hsl": {
    "h": 307,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55891,
    "c": 0.19496,
    "h": 332.9
  },
  "luminance": 0.15171
}

Semantic roles & 50–950 ramp

primary
#B23AA4
secondary
#83C48B
accent
#DA5E4D
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B23AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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