#B23AAF#B23AAF

#B23AAF is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.5% C 0.204 H 328.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B23AAF
RGBrgb(178, 58, 175)
HSLhsl(302, 51%, 46%)
HSVhsv(302, 67%, 70%)
CMYKcmyk(0%, 67.4%, 1.7%, 30.2%)
CIE-LABlab(46.43, 62.05, -38.07)
CIE-LCHlch(46.43, 72.80, 328.47°)
OKLaboklab(56.48% 0.1743 -0.1051)
OKLCHoklch(56.48% 0.204 328.9)
XYZxyz(27.6107, 15.5882, 42.1037)
Luminance0.1559 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23AAF #3AB23D
analogous
#793AB2 #B23AAF #B23A73
triadic
#B23AAF #AFB23A #3AAFB2
tetradic
#B23AAF #B2793A #3AB23D #3A73B2
square
#B23AAF #B2793A #3AB23D #3A73B2
split-complementary
#B23AAF #73B23A #3AB279
monochromatic
#561C54 #842B82 #B23AAF #CB5FC8 #DA8DD8

Accessibility & contrast

On white

5.10
#B23AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#B23AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23AAF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23AAF#FFFFFF#000000##FFFFFF
##B23AAF1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B64B2
Deuteranopia (green-blind)
#5A74AC
Tritanopia (blue-blind)
#B84A70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b23aaf;
/* rgb */ color: rgb(178, 58, 175);
/* oklch */ color: oklch(56.5% 0.204 328.9);
Tailwind
colors: {
  custom: {
    50: '#cc7ac7',
    500: '#b23aaf',
    950: '#000000',
  },
}
SCSS
$custom: #b23aaf;
$custom-light: #cc7ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#b23aaf",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 175
  },
  "hsl": {
    "h": 301.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56476,
    "c": 0.20352,
    "h": 328.9
  },
  "luminance": 0.15586
}

Semantic roles & 50–950 ramp

primary
#B23AAF
secondary
#83C485
accent
#DA514D
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B23AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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