#B23AC5#B23AC5

#B23AC5 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.8% C 0.222 H 321.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B23AC5
RGBrgb(178, 58, 197)
HSLhsl(292, 55%, 50%)
HSVhsv(292, 71%, 77%)
CMYKcmyk(9.6%, 70.6%, 0%, 22.7%)
CIE-LABlab(47.65, 65.87, -48.97)
CIE-LCHlch(47.65, 82.08, 323.37°)
OKLaboklab(57.75% 0.1743 -0.1368)
OKLCHoklch(57.75% 0.222 321.9)
XYZxyz(29.9501, 16.5240, 54.4244)
Luminance0.1652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23AC5 #4DC53A
analogous
#6D3AC5 #B23AC5 #C53A92
triadic
#B23AC5 #C5B23A #3AC5B2
tetradic
#B23AC5 #C56D3A #4DC53A #3A92C5
square
#B23AC5 #C56D3A #4DC53A #3A92C5
split-complementary
#B23AC5 #92C53A #3AC56D
monochromatic
#5D1E66 #872C96 #B23AC5 #C469D3 #D799E1

Accessibility & contrast

On white

4.88
#B23AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#B23AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23AC5
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23AC5#FFFFFF#000000##FFFFFF
##B23AC51.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C9
Deuteranopia (green-blind)
#4C76C2
Tritanopia (blue-blind)
#B4537C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b23ac5;
/* rgb */ color: rgb(178, 58, 197);
/* oklch */ color: oklch(57.8% 0.222 321.9);
Tailwind
colors: {
  custom: {
    50: '#cd7bd7',
    500: '#b23ac5',
    950: '#000000',
  },
}
SCSS
$custom: #b23ac5;
$custom-light: #cd7bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ac5",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 197
  },
  "hsl": {
    "h": 291.799,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.57751,
    "c": 0.22156,
    "h": 321.9
  },
  "luminance": 0.16522
}

Semantic roles & 50–950 ramp

primary
#B23AC5
secondary
#97CD8E
accent
#DE4A5E
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B23AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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