#B23DB6#B23DB6

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

Color values

HEX#B23DB6
RGBrgb(178, 61, 182)
HSLhsl(298, 50%, 48%)
HSVhsv(298, 66%, 71%)
CMYKcmyk(2.2%, 66.5%, 0%, 28.6%)
CIE-LABlab(47.21, 62.09, -40.94)
CIE-LCHlch(47.21, 74.37, 326.60°)
OKLaboklab(57.16% 0.1713 -0.1135)
OKLCHoklch(57.16% 0.205 326.5)
XYZxyz(28.4718, 16.1817, 45.8706)
Luminance0.1618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23DB6 #41B63D
analogous
#763DB6 #B23DB6 #B63D7D
triadic
#B23DB6 #B6B23D #3DB6B2
tetradic
#B23DB6 #B6763D #41B63D #3D7DB6
square
#B23DB6 #B6763D #41B63D #3D7DB6
split-complementary
#B23DB6 #7DB63D #3DB676
monochromatic
#581E5A #852E88 #B23DB6 #C865CB #D893DB

Accessibility & contrast

On white

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

On black

4.24
#B23DB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B23DB6#FFFFFF#000000##FFFFFF
##B23DB61.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2866BA
Deuteranopia (green-blind)
#5875B3
Tritanopia (blue-blind)
#B74F75
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b23db6;
/* rgb */ color: rgb(178, 61, 182);
/* oklch */ color: oklch(57.2% 0.205 326.5);
Tailwind
colors: {
  custom: {
    50: '#cc7ccc',
    500: '#b23db6',
    950: '#000000',
  },
}
SCSS
$custom: #b23db6;
$custom-light: #cc7ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#b23db6",
  "rgb": {
    "r": 178,
    "g": 61,
    "b": 182
  },
  "hsl": {
    "h": 298.017,
    "s": 49.794,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57161,
    "c": 0.20545,
    "h": 326.5
  },
  "luminance": 0.1618
}

Semantic roles & 50–950 ramp

primary
#B23DB6
secondary
#8BC689
accent
#D94E53
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B23DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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