#B23ABA#B23ABA

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

Color values

HEX#B23ABA
RGBrgb(178, 58, 186)
HSLhsl(296, 52%, 48%)
HSVhsv(296, 69%, 73%)
CMYKcmyk(4.3%, 68.8%, 0%, 27.1%)
CIE-LABlab(47.02, 63.92, -43.58)
CIE-LCHlch(47.02, 77.37, 325.72°)
OKLaboklab(57.1% 0.1745 -0.1211)
OKLCHoklch(57.1% 0.212 325.2)
XYZxyz(28.7354, 16.0381, 48.0270)
Luminance0.1604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23ABA #42BA3A
analogous
#723ABA #B23ABA #BA3A82
triadic
#B23ABA #BAB23A #3ABAB2
tetradic
#B23ABA #BA723A #42BA3A #3A82BA
square
#B23ABA #BA723A #42BA3A #3A82BA
split-complementary
#B23ABA #82BA3A #3ABA72
monochromatic
#591D5D #852B8B #B23ABA #C863CE #D892DD

Accessibility & contrast

On white

4.99
#B23ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#B23ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23ABA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23ABA#FFFFFF#000000##FFFFFF
##B23ABA1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C66BE
Deuteranopia (green-blind)
#5475B7
Tritanopia (blue-blind)
#B64E76
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b23aba;
/* rgb */ color: rgb(178, 58, 186);
/* oklch */ color: oklch(57.1% 0.212 325.2);
Tailwind
colors: {
  custom: {
    50: '#cd7bcf',
    500: '#b23aba',
    950: '#000000',
  },
}
SCSS
$custom: #b23aba;
$custom-light: #cd7bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#b23aba",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 186
  },
  "hsl": {
    "h": 296.25,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57097,
    "c": 0.21242,
    "h": 325.2
  },
  "luminance": 0.16036
}

Semantic roles & 50–950 ramp

primary
#B23ABA
secondary
#8CC888
accent
#DC4C55
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B23ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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