#B23AB2#B23AB2

#B23AB2 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.6% C 0.206 H 327.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B23AB2
RGBrgb(178, 58, 178)
HSLhsl(300, 51%, 46%)
HSVhsv(300, 67%, 70%)
CMYKcmyk(0%, 67.4%, 0%, 30.2%)
CIE-LABlab(46.59, 62.55, -39.59)
CIE-LCHlch(46.59, 74.03, 327.67°)
OKLaboklab(56.64% 0.1744 -0.1095)
OKLCHoklch(56.64% 0.206 327.9)
XYZxyz(27.9087, 15.7074, 43.6727)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23AB2 #3AB23A
analogous
#763AB2 #B23AB2 #B23A76
triadic
#B23AB2 #B2B23A #3AB2B2
tetradic
#B23AB2 #B2763A #3AB23A #3A76B2
square
#B23AB2 #B2763A #3AB23A #3A76B2
split-complementary
#B23AB2 #76B23A #3AB276
monochromatic
#561C56 #842B84 #B23AB2 #CB5FCB #DA8DDA

Accessibility & contrast

On white

5.07
#B23AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#B23AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23AB2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23AB2#FFFFFF#000000##FFFFFF
##B23AB21.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2864B5
Deuteranopia (green-blind)
#5874AF
Tritanopia (blue-blind)
#B74B71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b23ab2;
/* rgb */ color: rgb(178, 58, 178);
/* oklch */ color: oklch(56.6% 0.206 327.9);
Tailwind
colors: {
  custom: {
    50: '#cc7ac9',
    500: '#b23ab2',
    950: '#000000',
  },
}
SCSS
$custom: #b23ab2;
$custom-light: #cc7ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ab2",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 178
  },
  "hsl": {
    "h": 300,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56642,
    "c": 0.20593,
    "h": 327.9
  },
  "luminance": 0.15705
}

Semantic roles & 50–950 ramp

primary
#B23AB2
secondary
#83C483
accent
#DA4D4D
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B23AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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