#B23BAA#B23BAA

#B23BAA is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.3% C 0.198 H 330.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B23BAA
RGBrgb(178, 59, 170)
HSLhsl(304, 50%, 46%)
HSVhsv(304, 67%, 70%)
CMYKcmyk(0%, 66.9%, 4.5%, 30.2%)
CIE-LABlab(46.31, 60.84, -35.31)
CIE-LCHlch(46.31, 70.35, 329.87°)
OKLaboklab(56.3% 0.1729 -0.0971)
OKLCHoklch(56.3% 0.198 330.7)
XYZxyz(27.1797, 15.4972, 39.5821)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23BAA #3BB243
analogous
#7F3BB2 #B23BAA #B23B6F
triadic
#B23BAA #AAB23B #3BAAB2
tetradic
#B23BAA #B27F3B #3BB243 #3B6FB2
square
#B23BAA #B27F3B #3BB243 #3B6FB2
split-complementary
#B23BAA #6FB23B #3BB27F
monochromatic
#561D52 #842C7E #B23BAA #CA60C3 #DA8ED4

Accessibility & contrast

On white

5.12
#B23BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#B23BAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23BAA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23BAA#FFFFFF#000000##FFFFFF
##B23BAA1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3263AD
Deuteranopia (green-blind)
#5D74A7
Tritanopia (blue-blind)
#B9486E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b23baa;
/* rgb */ color: rgb(178, 59, 170);
/* oklch */ color: oklch(56.3% 0.198 330.7);
Tailwind
colors: {
  custom: {
    50: '#cc7bc3',
    500: '#b23baa',
    950: '#000000',
  },
}
SCSS
$custom: #b23baa;
$custom-light: #cc7bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#b23baa",
  "rgb": {
    "r": 178,
    "g": 59,
    "b": 170
  },
  "hsl": {
    "h": 304.034,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56304,
    "c": 0.19832,
    "h": 330.7
  },
  "luminance": 0.15495
}

Semantic roles & 50–950 ramp

primary
#B23BAA
secondary
#85C489
accent
#DA574E
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A12
muted
#837C81

Preview Lab

Preview with #B23BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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