#B23BA2#B23BA2

#B23BA2 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.9% C 0.192 H 333.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B23BA2
RGBrgb(178, 59, 162)
HSLhsl(308, 50%, 46%)
HSVhsv(308, 67%, 70%)
CMYKcmyk(0%, 66.9%, 9%, 30.2%)
CIE-LABlab(45.91, 59.56, -31.19)
CIE-LCHlch(45.91, 67.23, 332.36°)
OKLaboklab(55.89% 0.1722 -0.0853)
OKLCHoklch(55.89% 0.192 333.6)
XYZxyz(26.4458, 15.2037, 35.7172)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23BA2 #3BB24B
analogous
#873BB2 #B23BA2 #B23B67
triadic
#B23BA2 #A2B23B #3BA2B2
tetradic
#B23BA2 #B2873B #3BB24B #3B67B2
square
#B23BA2 #B2873B #3BB24B #3B67B2
split-complementary
#B23BA2 #67B23B #3BB287
monochromatic
#561D4E #842C78 #B23BA2 #CA60BC #DA8ECF

Accessibility & contrast

On white

5.20
#B23BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B23BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23BA2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23BA2#FFFFFF#000000##FFFFFF
##B23BA21.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3862A5
Deuteranopia (green-blind)
#61739F
Tritanopia (blue-blind)
#BA4569
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b23ba2;
/* rgb */ color: rgb(178, 59, 162);
/* oklch */ color: oklch(55.9% 0.192 333.6);
Tailwind
colors: {
  custom: {
    50: '#cc7abe',
    500: '#b23ba2',
    950: '#000000',
  },
}
SCSS
$custom: #b23ba2;
$custom-light: #cc7abe;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ba2",
  "rgb": {
    "r": 178,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 308.067,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55889,
    "c": 0.19216,
    "h": 333.6
  },
  "luminance": 0.15202
}

Semantic roles & 50–950 ramp

primary
#B23BA2
secondary
#85C48D
accent
#DA614E
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B23BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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