#B23CBB#B23CBB

#B23CBB is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.3% C 0.211 H 324.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B23CBB
RGBrgb(178, 60, 187)
HSLhsl(296, 51%, 48%)
HSVhsv(296, 68%, 73%)
CMYKcmyk(4.8%, 67.9%, 0%, 26.7%)
CIE-LABlab(47.35, 63.34, -43.65)
CIE-LCHlch(47.35, 76.93, 325.43°)
OKLaboklab(57.35% 0.1724 -0.1213)
OKLCHoklch(57.35% 0.211 324.9)
XYZxyz(28.9449, 16.2863, 48.6231)
Luminance0.1628 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23CBB #45BB3C
analogous
#723CBB #B23CBB #BB3C84
triadic
#B23CBB #BBB23C #3CBBB2
tetradic
#B23CBB #BB723C #45BB3C #3C84BB
square
#B23CBB #BB723C #45BB3C #3C84BB
split-complementary
#B23CBB #84BB3C #3CBB72
monochromatic
#5A1E5E #862D8D #B23CBB #C766CE #D895DD

Accessibility & contrast

On white

4.93
#B23CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#B23CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23CBB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23CBB#FFFFFF#000000##FFFFFF
##B23CBB1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F67BF
Deuteranopia (green-blind)
#5475B8
Tritanopia (blue-blind)
#B65077
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b23cbb;
/* rgb */ color: rgb(178, 60, 187);
/* oklch */ color: oklch(57.3% 0.211 324.9);
Tailwind
colors: {
  custom: {
    50: '#cc7cd0',
    500: '#b23cbb',
    950: '#000000',
  },
}
SCSS
$custom: #b23cbb;
$custom-light: #cc7cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#b23cbb",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 187
  },
  "hsl": {
    "h": 295.748,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57347,
    "c": 0.21083,
    "h": 324.9
  },
  "luminance": 0.16285
}

Semantic roles & 50–950 ramp

primary
#B23CBB
secondary
#8FC88B
accent
#DB4D57
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B23CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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