#B23CB6#B23CB6

#B23CB6 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.1% C 0.207 H 326.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B23CB6
RGBrgb(178, 60, 182)
HSLhsl(298, 50%, 47%)
HSVhsv(298, 67%, 71%)
CMYKcmyk(2.2%, 67%, 0%, 28.6%)
CIE-LABlab(47.07, 62.47, -41.16)
CIE-LCHlch(47.07, 74.81, 326.62°)
OKLaboklab(57.06% 0.1724 -0.1141)
OKLCHoklch(57.06% 0.207 326.5)
XYZxyz(28.4189, 16.0760, 45.8530)
Luminance0.1607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23CB6 #40B63C
analogous
#753CB6 #B23CB6 #B63C7D
triadic
#B23CB6 #B6B23C #3CB6B2
tetradic
#B23CB6 #B6753C #40B63C #3C7DB6
square
#B23CB6 #B6753C #40B63C #3C7DB6
split-complementary
#B23CB6 #7DB63C #3CB675
monochromatic
#581E5A #852D88 #B23CB6 #C863CC #D891DB

Accessibility & contrast

On white

4.98
#B23CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#B23CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23CB6
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23CB6#FFFFFF#000000##FFFFFF
##B23CB61.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2666BA
Deuteranopia (green-blind)
#5775B3
Tritanopia (blue-blind)
#B74E74
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b23cb6;
/* rgb */ color: rgb(178, 60, 182);
/* oklch */ color: oklch(57.1% 0.207 326.5);
Tailwind
colors: {
  custom: {
    50: '#cc7bcc',
    500: '#b23cb6',
    950: '#000000',
  },
}
SCSS
$custom: #b23cb6;
$custom-light: #cc7bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#b23cb6",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 182
  },
  "hsl": {
    "h": 298.033,
    "s": 50.413,
    "l": 47.451
  },
  "oklch": {
    "l": 0.57061,
    "c": 0.2067,
    "h": 326.5
  },
  "luminance": 0.16074
}

Semantic roles & 50–950 ramp

primary
#B23CB6
secondary
#8AC688
accent
#DA4E52
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B23CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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