#B23BB6#B23BB6

#B23BB6 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.0% C 0.208 H 326.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B23BB6
RGBrgb(178, 59, 182)
HSLhsl(298, 51%, 47%)
HSVhsv(298, 68%, 71%)
CMYKcmyk(2.2%, 67.6%, 0%, 28.6%)
CIE-LABlab(46.94, 62.86, -41.38)
CIE-LCHlch(46.94, 75.25, 326.64°)
OKLaboklab(56.96% 0.1734 -0.1147)
OKLCHoklch(56.96% 0.208 326.5)
XYZxyz(28.3670, 15.9722, 45.8357)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23BB6 #3FB63B
analogous
#753BB6 #B23BB6 #B63B7C
triadic
#B23BB6 #B6B23B #3BB6B2
tetradic
#B23BB6 #B6753B #3FB63B #3B7CB6
square
#B23BB6 #B6753B #3FB63B #3B7CB6
split-complementary
#B23BB6 #7CB63B #3BB675
monochromatic
#581D5A #852C88 #B23BB6 #C962CC #D990DB

Accessibility & contrast

On white

5.01
#B23BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#B23BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23BB6
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23BB6#FFFFFF#000000##FFFFFF
##B23BB61.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2466BA
Deuteranopia (green-blind)
#5775B3
Tritanopia (blue-blind)
#B74D74
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b23bb6;
/* rgb */ color: rgb(178, 59, 182);
/* oklch */ color: oklch(57.0% 0.208 326.5);
Tailwind
colors: {
  custom: {
    50: '#cc7bcc',
    500: '#b23bb6',
    950: '#000000',
  },
}
SCSS
$custom: #b23bb6;
$custom-light: #cc7bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#b23bb6",
  "rgb": {
    "r": 178,
    "g": 59,
    "b": 182
  },
  "hsl": {
    "h": 298.049,
    "s": 51.037,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56963,
    "c": 0.20794,
    "h": 326.5
  },
  "luminance": 0.1597
}

Semantic roles & 50–950 ramp

primary
#B23BB6
secondary
#89C687
accent
#DB4D52
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B23BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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