#B23CBA#B23CBA

#B23CBA is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.3% C 0.210 H 325.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B23CBA
RGBrgb(178, 60, 186)
HSLhsl(296, 51%, 48%)
HSVhsv(296, 68%, 73%)
CMYKcmyk(4.3%, 67.7%, 0%, 27.1%)
CIE-LABlab(47.29, 63.17, -43.15)
CIE-LCHlch(47.29, 76.50, 325.66°)
OKLaboklab(57.29% 0.1724 -0.1199)
OKLCHoklch(57.29% 0.21 325.2)
XYZxyz(28.8382, 16.2437, 48.0612)
Luminance0.1624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23CBA #44BA3C
analogous
#733CBA #B23CBA #BA3C83
triadic
#B23CBA #BAB23C #3CBAB2
tetradic
#B23CBA #BA733C #44BA3C #3C83BA
square
#B23CBA #BA733C #44BA3C #3C83BA
split-complementary
#B23CBA #83BA3C #3CBA73
monochromatic
#591E5D #862D8C #B23CBA #C766CE #D894DC

Accessibility & contrast

On white

4.94
#B23CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#B23CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23CBA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23CBA#FFFFFF#000000##FFFFFF
##B23CBA1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2067BE
Deuteranopia (green-blind)
#5575B7
Tritanopia (blue-blind)
#B65076
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b23cba;
/* rgb */ color: rgb(178, 60, 186);
/* oklch */ color: oklch(57.3% 0.210 325.2);
Tailwind
colors: {
  custom: {
    50: '#cc7ccf',
    500: '#b23cba',
    950: '#000000',
  },
}
SCSS
$custom: #b23cba;
$custom-light: #cc7ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#b23cba",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 186
  },
  "hsl": {
    "h": 296.19,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57289,
    "c": 0.21,
    "h": 325.2
  },
  "luminance": 0.16242
}

Semantic roles & 50–950 ramp

primary
#B23CBA
secondary
#8EC88A
accent
#DB4D56
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B23CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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