#B23CB8#B23CB8

#B23CB8 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.2% C 0.208 H 325.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B23CB8
RGBrgb(178, 60, 184)
HSLhsl(297, 51%, 48%)
HSVhsv(297, 67%, 72%)
CMYKcmyk(3.3%, 67.4%, 0%, 27.8%)
CIE-LABlab(47.18, 62.82, -42.16)
CIE-LCHlch(47.18, 75.66, 326.13°)
OKLaboklab(57.18% 0.1724 -0.117)
OKLCHoklch(57.18% 0.208 325.8)
XYZxyz(28.6271, 16.1592, 46.9493)
Luminance0.1616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23CB8 #42B83C
analogous
#743CB8 #B23CB8 #B83C80
triadic
#B23CB8 #B8B23C #3CB8B2
tetradic
#B23CB8 #B8743C #42B83C #3C80B8
square
#B23CB8 #B8743C #42B83C #3C80B8
split-complementary
#B23CB8 #80B83C #3CB874
monochromatic
#591E5C #852D8A #B23CB8 #C865CD #D893DC

Accessibility & contrast

On white

4.96
#B23CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#B23CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23CB8
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23CB8#FFFFFF#000000##FFFFFF
##B23CB81.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2366BC
Deuteranopia (green-blind)
#5675B5
Tritanopia (blue-blind)
#B64F75
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b23cb8;
/* rgb */ color: rgb(178, 60, 184);
/* oklch */ color: oklch(57.2% 0.208 325.8);
Tailwind
colors: {
  custom: {
    50: '#cc7bce',
    500: '#b23cb8',
    950: '#000000',
  },
}
SCSS
$custom: #b23cb8;
$custom-light: #cc7bce;
$custom-dark: #000000;
JSON
{
  "hex": "#b23cb8",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 184
  },
  "hsl": {
    "h": 297.097,
    "s": 50.82,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57175,
    "c": 0.20835,
    "h": 325.8
  },
  "luminance": 0.16157
}

Semantic roles & 50–950 ramp

primary
#B23CB8
secondary
#8CC789
accent
#DA4D54
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B23CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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