#B23AB5#B23AB5

#B23AB5 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.8% C 0.208 H 326.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B23AB5
RGBrgb(178, 58, 181)
HSLhsl(299, 51%, 47%)
HSVhsv(299, 68%, 71%)
CMYKcmyk(1.7%, 68%, 0%, 29%)
CIE-LABlab(46.75, 63.06, -41.09)
CIE-LCHlch(46.75, 75.27, 326.91°)
OKLaboklab(56.81% 0.1745 -0.1139)
OKLCHoklch(56.81% 0.208 326.9)
XYZxyz(28.2132, 15.8292, 45.2764)
Luminance0.1583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23AB5 #3DB53A
analogous
#753AB5 #B23AB5 #B53A7A
triadic
#B23AB5 #B5B23A #3AB5B2
tetradic
#B23AB5 #B5753A #3DB53A #3A7AB5
square
#B23AB5 #B5753A #3DB53A #3A7AB5
split-complementary
#B23AB5 #7AB53A #3AB575
monochromatic
#571C58 #842B87 #B23AB5 #C960CC #D98EDB

Accessibility & contrast

On white

5.04
#B23AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#B23AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23AB5
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23AB5#FFFFFF#000000##FFFFFF
##B23AB51.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2465B9
Deuteranopia (green-blind)
#5774B2
Tritanopia (blue-blind)
#B74C73
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b23ab5;
/* rgb */ color: rgb(178, 58, 181);
/* oklch */ color: oklch(56.8% 0.208 326.9);
Tailwind
colors: {
  custom: {
    50: '#cc7acc',
    500: '#b23ab5',
    950: '#000000',
  },
}
SCSS
$custom: #b23ab5;
$custom-light: #cc7acc;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ab5",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 181
  },
  "hsl": {
    "h": 298.537,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5681,
    "c": 0.20835,
    "h": 326.9
  },
  "luminance": 0.15827
}

Semantic roles & 50–950 ramp

primary
#B23AB5
secondary
#87C685
accent
#DB4D50
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B23AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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