#B23AC2#B23AC2

#B23AC2 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.6% C 0.219 H 322.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B23AC2
RGBrgb(178, 58, 194)
HSLhsl(293, 54%, 49%)
HSVhsv(293, 70%, 76%)
CMYKcmyk(8.2%, 70.1%, 0%, 23.9%)
CIE-LABlab(47.48, 65.33, -47.51)
CIE-LCHlch(47.48, 80.78, 323.97°)
OKLaboklab(57.57% 0.1744 -0.1326)
OKLCHoklch(57.57% 0.219 322.8)
XYZxyz(29.6098, 16.3878, 52.6320)
Luminance0.1639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23AC2 #4AC23A
analogous
#6E3AC2 #B23AC2 #C23A8E
triadic
#B23AC2 #C2B23A #3AC2B2
tetradic
#B23AC2 #C26E3A #4AC23A #3A8EC2
square
#B23AC2 #C26E3A #4AC23A #3A8EC2
split-complementary
#B23AC2 #8EC23A #3AC26E
monochromatic
#5C1E64 #872C93 #B23AC2 #C567D2 #D797E0

Accessibility & contrast

On white

4.91
#B23AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#B23AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23AC2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23AC2#FFFFFF#000000##FFFFFF
##B23AC21.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0668C6
Deuteranopia (green-blind)
#4E75BF
Tritanopia (blue-blind)
#B5527A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b23ac2;
/* rgb */ color: rgb(178, 58, 194);
/* oklch */ color: oklch(57.6% 0.219 322.8);
Tailwind
colors: {
  custom: {
    50: '#cd7bd5',
    500: '#b23ac2',
    950: '#000000',
  },
}
SCSS
$custom: #b23ac2;
$custom-light: #cd7bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ac2",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 194
  },
  "hsl": {
    "h": 292.941,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57569,
    "c": 0.21905,
    "h": 322.8
  },
  "luminance": 0.16386
}

Semantic roles & 50–950 ramp

primary
#B23AC2
secondary
#94CB8D
accent
#DD4A5C
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B23AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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