#B23CBC#B23CBC

#B23CBC is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.4% C 0.212 H 324.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B23CBC
RGBrgb(178, 60, 188)
HSLhsl(295, 52%, 49%)
HSVhsv(295, 68%, 74%)
CMYKcmyk(5.3%, 68.1%, 0%, 26.3%)
CIE-LABlab(47.40, 63.52, -44.14)
CIE-LCHlch(47.40, 77.35, 325.20°)
OKLaboklab(57.4% 0.1724 -0.1228)
OKLCHoklch(57.4% 0.212 324.6)
XYZxyz(29.0523, 16.3293, 49.1888)
Luminance0.1633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23CBC #46BC3C
analogous
#723CBC #B23CBC #BC3C86
triadic
#B23CBC #BCB23C #3CBCB2
tetradic
#B23CBC #BC723C #46BC3C #3C86BC
square
#B23CBC #BC723C #46BC3C #3C86BC
split-complementary
#B23CBC #86BC3C #3CBC72
monochromatic
#5A1E5F #862D8E #B23CBC #C667CE #D895DD

Accessibility & contrast

On white

4.92
#B23CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#B23CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23CBC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23CBC#FFFFFF#000000##FFFFFF
##B23CBC1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D67C0
Deuteranopia (green-blind)
#5475B9
Tritanopia (blue-blind)
#B65178
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b23cbc;
/* rgb */ color: rgb(178, 60, 188);
/* oklch */ color: oklch(57.4% 0.212 324.6);
Tailwind
colors: {
  custom: {
    50: '#cd7cd1',
    500: '#b23cbc',
    950: '#000000',
  },
}
SCSS
$custom: #b23cbc;
$custom-light: #cd7cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#b23cbc",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 188
  },
  "hsl": {
    "h": 295.313,
    "s": 51.613,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57405,
    "c": 0.21167,
    "h": 324.6
  },
  "luminance": 0.16328
}

Semantic roles & 50–950 ramp

primary
#B23CBC
secondary
#90C98B
accent
#DB4D58
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B23CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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