#B23DB7#B23DB7

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

Color values

HEX#B23DB7
RGBrgb(178, 61, 183)
HSLhsl(298, 50%, 48%)
HSVhsv(298, 67%, 72%)
CMYKcmyk(2.7%, 66.7%, 0%, 28.2%)
CIE-LABlab(47.27, 62.26, -41.44)
CIE-LCHlch(47.27, 74.79, 326.35°)
OKLaboklab(57.22% 0.1713 -0.1149)
OKLCHoklch(57.22% 0.206 326.1)
XYZxyz(28.5755, 16.2232, 46.4169)
Luminance0.1622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23DB7 #42B73D
analogous
#753DB7 #B23DB7 #B73D7F
triadic
#B23DB7 #B7B23D #3DB7B2
tetradic
#B23DB7 #B7753D #42B73D #3D7FB7
square
#B23DB7 #B7753D #42B73D #3D7FB7
split-complementary
#B23DB7 #7FB73D #3DB775
monochromatic
#591E5B #852E89 #B23DB7 #C865CC #D893DB

Accessibility & contrast

On white

4.95
#B23DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B23DB7
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23DB7#FFFFFF#000000##FFFFFF
##B23DB71.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2767BB
Deuteranopia (green-blind)
#5775B4
Tritanopia (blue-blind)
#B74F75
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b23db7;
/* rgb */ color: rgb(178, 61, 183);
/* oklch */ color: oklch(57.2% 0.206 326.1);
Tailwind
colors: {
  custom: {
    50: '#cc7ccd',
    500: '#b23db7',
    950: '#000000',
  },
}
SCSS
$custom: #b23db7;
$custom-light: #cc7ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#b23db7",
  "rgb": {
    "r": 178,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 297.541,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57217,
    "c": 0.20627,
    "h": 326.1
  },
  "luminance": 0.16221
}

Semantic roles & 50–950 ramp

primary
#B23DB7
secondary
#8CC689
accent
#DA4E54
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B23DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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