#B23AB8#B23AB8

#B23AB8 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.0% C 0.211 H 325.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B23AB8
RGBrgb(178, 58, 184)
HSLhsl(297, 52%, 47%)
HSVhsv(297, 68%, 72%)
CMYKcmyk(3.3%, 68.5%, 0%, 27.8%)
CIE-LABlab(46.91, 63.58, -42.59)
CIE-LCHlch(46.91, 76.52, 326.18°)
OKLaboklab(56.98% 0.1745 -0.1182)
OKLCHoklch(56.98% 0.211 325.9)
XYZxyz(28.5243, 15.9536, 46.9151)
Luminance0.1595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23AB8 #40B83A
analogous
#733AB8 #B23AB8 #B83A7F
triadic
#B23AB8 #B8B23A #3AB8B2
tetradic
#B23AB8 #B8733A #40B83A #3A7FB8
square
#B23AB8 #B8733A #40B83A #3A7FB8
split-complementary
#B23AB8 #7FB83A #3AB873
monochromatic
#581D5B #852B89 #B23AB8 #C862CD #D890DC

Accessibility & contrast

On white

5.01
#B23AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#B23AB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23AB8
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23AB8#FFFFFF#000000##FFFFFF
##B23AB81.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2066BC
Deuteranopia (green-blind)
#5574B5
Tritanopia (blue-blind)
#B64E75
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b23ab8;
/* rgb */ color: rgb(178, 58, 184);
/* oklch */ color: oklch(57.0% 0.211 325.9);
Tailwind
colors: {
  custom: {
    50: '#cd7ace',
    500: '#b23ab8',
    950: '#000000',
  },
}
SCSS
$custom: #b23ab8;
$custom-light: #cd7ace;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ab8",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 184
  },
  "hsl": {
    "h": 297.143,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56981,
    "c": 0.21079,
    "h": 325.9
  },
  "luminance": 0.15952
}

Semantic roles & 50–950 ramp

primary
#B23AB8
secondary
#8AC787
accent
#DC4C53
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B23AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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