#B23AC1#B23AC1

#B23AC1 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.5% C 0.218 H 323.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B23AC1
RGBrgb(178, 58, 193)
HSLhsl(293, 54%, 49%)
HSVhsv(293, 70%, 76%)
CMYKcmyk(7.8%, 69.9%, 0%, 24.3%)
CIE-LABlab(47.42, 65.15, -47.03)
CIE-LCHlch(47.42, 80.35, 324.18°)
OKLaboklab(57.51% 0.1744 -0.1311)
OKLCHoklch(57.51% 0.218 323.1)
XYZxyz(29.4979, 16.3431, 52.0425)
Luminance0.1634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23AC1 #49C13A
analogous
#6E3AC1 #B23AC1 #C13A8D
triadic
#B23AC1 #C1B23A #3AC1B2
tetradic
#B23AC1 #C16E3A #49C13A #3A8DC1
square
#B23AC1 #C16E3A #49C13A #3A8DC1
split-complementary
#B23AC1 #8DC13A #3AC16E
monochromatic
#5B1E63 #872C92 #B23AC1 #C567D1 #D796DF

Accessibility & contrast

On white

4.92
#B23AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#B23AC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23AC1
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23AC1#FFFFFF#000000##FFFFFF
##B23AC11.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A68C5
Deuteranopia (green-blind)
#4F75BE
Tritanopia (blue-blind)
#B5517A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b23ac1;
/* rgb */ color: rgb(178, 58, 193);
/* oklch */ color: oklch(57.5% 0.218 323.1);
Tailwind
colors: {
  custom: {
    50: '#cd7bd4',
    500: '#b23ac1',
    950: '#000000',
  },
}
SCSS
$custom: #b23ac1;
$custom-light: #cd7bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ac1",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 193
  },
  "hsl": {
    "h": 293.333,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57509,
    "c": 0.21821,
    "h": 323.1
  },
  "luminance": 0.16341
}

Semantic roles & 50–950 ramp

primary
#B23AC1
secondary
#93CB8C
accent
#DD4B5B
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B23AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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