#B23AAA#B23AAA

#B23AAA is a mid, vivid purple. Relative luminance 0.154; OKLCH L 56.2% C 0.200 H 330.7°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B23AAA
RGBrgb(178, 58, 170)
HSLhsl(304, 51%, 46%)
HSVhsv(304, 67%, 70%)
CMYKcmyk(0%, 67.4%, 4.5%, 30.2%)
CIE-LABlab(46.17, 61.23, -35.53)
CIE-LCHlch(46.17, 70.79, 329.88°)
OKLaboklab(56.21% 0.174 -0.0978)
OKLCHoklch(56.21% 0.2 330.7)
XYZxyz(27.1287, 15.3954, 39.5652)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23AAA #3AB242
analogous
#7E3AB2 #B23AAA #B23A6E
triadic
#B23AAA #AAB23A #3AAAB2
tetradic
#B23AAA #B27E3A #3AB242 #3A6EB2
square
#B23AAA #B27E3A #3AB242 #3A6EB2
split-complementary
#B23AAA #6EB23A #3AB27E
monochromatic
#561C52 #842B7E #B23AAA #CB5FC3 #DA8DD5

Accessibility & contrast

On white

5.15
#B23AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#B23AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23AAA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23AAA#FFFFFF#000000##FFFFFF
##B23AAA1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3063AD
Deuteranopia (green-blind)
#5D73A7
Tritanopia (blue-blind)
#B9476D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b23aaa;
/* rgb */ color: rgb(178, 58, 170);
/* oklch */ color: oklch(56.2% 0.200 330.7);
Tailwind
colors: {
  custom: {
    50: '#cc7ac3',
    500: '#b23aaa',
    950: '#000000',
  },
}
SCSS
$custom: #b23aaa;
$custom-light: #cc7ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#b23aaa",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 304,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56206,
    "c": 0.19958,
    "h": 330.7
  },
  "luminance": 0.15393
}

Semantic roles & 50–950 ramp

primary
#B23AAA
secondary
#83C488
accent
#DA574D
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A12
muted
#837C81

Preview Lab

Preview with #B23AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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