#B23AB9#B23AB9

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

Color values

HEX#B23AB9
RGBrgb(178, 58, 185)
HSLhsl(297, 52%, 48%)
HSVhsv(297, 69%, 73%)
CMYKcmyk(3.8%, 68.6%, 0%, 27.5%)
CIE-LABlab(46.97, 63.75, -43.08)
CIE-LCHlch(46.97, 76.94, 325.95°)
OKLaboklab(57.04% 0.1745 -0.1197)
OKLCHoklch(57.04% 0.212 325.6)
XYZxyz(28.6295, 15.9957, 47.4691)
Luminance0.1599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23AB9 #41B93A
analogous
#733AB9 #B23AB9 #B93A80
triadic
#B23AB9 #B9B23A #3AB9B2
tetradic
#B23AB9 #B9733A #41B93A #3A80B9
square
#B23AB9 #B9733A #41B93A #3A80B9
split-complementary
#B23AB9 #80B93A #3AB973
monochromatic
#581D5C #852B8A #B23AB9 #C862CE #D891DC

Accessibility & contrast

On white

5.00
#B23AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#B23AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23AB9
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23AB9#FFFFFF#000000##FFFFFF
##B23AB91.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E66BD
Deuteranopia (green-blind)
#5474B6
Tritanopia (blue-blind)
#B64E75
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b23ab9;
/* rgb */ color: rgb(178, 58, 185);
/* oklch */ color: oklch(57.0% 0.212 325.6);
Tailwind
colors: {
  custom: {
    50: '#cd7bce',
    500: '#b23ab9',
    950: '#000000',
  },
}
SCSS
$custom: #b23ab9;
$custom-light: #cd7bce;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ab9",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 185
  },
  "hsl": {
    "h": 296.693,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57039,
    "c": 0.2116,
    "h": 325.6
  },
  "luminance": 0.15994
}

Semantic roles & 50–950 ramp

primary
#B23AB9
secondary
#8BC787
accent
#DC4C54
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B23AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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