#B23AC6#B23AC6

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

Color values

HEX#B23AC6
RGBrgb(178, 58, 198)
HSLhsl(291, 55%, 50%)
HSVhsv(291, 71%, 78%)
CMYKcmyk(10.1%, 70.7%, 0%, 22.4%)
CIE-LABlab(47.71, 66.05, -49.46)
CIE-LCHlch(47.71, 82.52, 323.17°)
OKLaboklab(57.81% 0.1742 -0.1383)
OKLCHoklch(57.81% 0.222 321.6)
XYZxyz(30.0651, 16.5699, 55.0298)
Luminance0.1657 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23AC6 #4EC63A
analogous
#6C3AC6 #B23AC6 #C63A94
triadic
#B23AC6 #C6B23A #3AC6B2
tetradic
#B23AC6 #C66C3A #4EC63A #3A94C6
square
#B23AC6 #C66C3A #4EC63A #3A94C6
split-complementary
#B23AC6 #94C63A #3AC66C
monochromatic
#5D1E68 #882C97 #B23AC6 #C569D4 #D799E1

Accessibility & contrast

On white

4.87
#B23AC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#B23AC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23AC6
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23AC6#FFFFFF#000000##FFFFFF
##B23AC61.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CA
Deuteranopia (green-blind)
#4B76C3
Tritanopia (blue-blind)
#B4547C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b23ac6;
/* rgb */ color: rgb(178, 58, 198);
/* oklch */ color: oklch(57.8% 0.222 321.6);
Tailwind
colors: {
  custom: {
    50: '#cd7bd8',
    500: '#b23ac6',
    950: '#000000',
  },
}
SCSS
$custom: #b23ac6;
$custom-light: #cd7bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ac6",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 198
  },
  "hsl": {
    "h": 291.429,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57812,
    "c": 0.22241,
    "h": 321.6
  },
  "luminance": 0.16568
}

Semantic roles & 50–950 ramp

primary
#B23AC6
secondary
#98CD8F
accent
#DE495F
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B23AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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