#B23AA8#B23AA8

#B23AA8 is a mid, vivid purple. Relative luminance 0.153; OKLCH L 56.1% C 0.198 H 331.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B23AA8
RGBrgb(178, 58, 168)
HSLhsl(305, 51%, 46%)
HSVhsv(305, 67%, 70%)
CMYKcmyk(0%, 67.4%, 5.6%, 30.2%)
CIE-LABlab(46.07, 60.90, -34.50)
CIE-LCHlch(46.07, 70.00, 330.47°)
OKLaboklab(56.1% 0.1739 -0.0948)
OKLCHoklch(56.1% 0.198 331.4)
XYZxyz(26.9410, 15.3203, 38.5764)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23AA8 #3AB244
analogous
#803AB2 #B23AA8 #B23A6C
triadic
#B23AA8 #A8B23A #3AA8B2
tetradic
#B23AA8 #B2803A #3AB244 #3A6CB2
square
#B23AA8 #B2803A #3AB244 #3A6CB2
split-complementary
#B23AA8 #6CB23A #3AB280
monochromatic
#561C51 #842B7C #B23AA8 #CB5FC2 #DA8DD3

Accessibility & contrast

On white

5.17
#B23AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B23AA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23AA8
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23AA8#FFFFFF#000000##FFFFFF
##B23AA81.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3262AB
Deuteranopia (green-blind)
#5D73A5
Tritanopia (blue-blind)
#B9476C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b23aa8;
/* rgb */ color: rgb(178, 58, 168);
/* oklch */ color: oklch(56.1% 0.198 331.4);
Tailwind
colors: {
  custom: {
    50: '#cc7ac2',
    500: '#b23aa8',
    950: '#000000',
  },
}
SCSS
$custom: #b23aa8;
$custom-light: #cc7ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#b23aa8",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 168
  },
  "hsl": {
    "h": 305,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.561,
    "c": 0.19803,
    "h": 331.4
  },
  "luminance": 0.15318
}

Semantic roles & 50–950 ramp

primary
#B23AA8
secondary
#83C489
accent
#DA594D
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A12
muted
#837C81

Preview Lab

Preview with #B23AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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