#B23AA5#B23AA5

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

Color values

HEX#B23AA5
RGBrgb(178, 58, 165)
HSLhsl(307, 51%, 46%)
HSVhsv(307, 67%, 70%)
CMYKcmyk(0%, 67.4%, 7.3%, 30.2%)
CIE-LABlab(45.92, 60.42, -32.96)
CIE-LCHlch(45.92, 68.83, 331.39°)
OKLaboklab(55.94% 0.1736 -0.0904)
OKLCHoklch(55.94% 0.196 332.5)
XYZxyz(26.6647, 15.2098, 37.1214)
Luminance0.1521 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23AA5 #3AB247
analogous
#833AB2 #B23AA5 #B23A69
triadic
#B23AA5 #A5B23A #3AA5B2
tetradic
#B23AA5 #B2833A #3AB247 #3A69B2
square
#B23AA5 #B2833A #3AB247 #3A69B2
split-complementary
#B23AA5 #69B23A #3AB283
monochromatic
#561C4F #842B7A #B23AA5 #CB5FBF #DA8DD1

Accessibility & contrast

On white

5.20
#B23AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B23AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23AA5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23AA5#FFFFFF#000000##FFFFFF
##B23AA51.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3562A8
Deuteranopia (green-blind)
#5F73A2
Tritanopia (blue-blind)
#BA456B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b23aa5;
/* rgb */ color: rgb(178, 58, 165);
/* oklch */ color: oklch(55.9% 0.196 332.5);
Tailwind
colors: {
  custom: {
    50: '#cc7ac0',
    500: '#b23aa5',
    950: '#000000',
  },
}
SCSS
$custom: #b23aa5;
$custom-light: #cc7ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#b23aa5",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 165
  },
  "hsl": {
    "h": 306.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55943,
    "c": 0.19572,
    "h": 332.5
  },
  "luminance": 0.15208
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B23AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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