#B23DB8#B23DB8

#B23DB8 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.3% C 0.207 H 325.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B23DB8
RGBrgb(178, 61, 184)
HSLhsl(297, 50%, 48%)
HSVhsv(297, 67%, 72%)
CMYKcmyk(3.3%, 66.8%, 0%, 27.8%)
CIE-LABlab(47.32, 62.43, -41.94)
CIE-LCHlch(47.32, 75.21, 326.11°)
OKLaboklab(57.27% 0.1713 -0.1164)
OKLCHoklch(57.27% 0.207 325.8)
XYZxyz(28.6800, 16.2650, 46.9670)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23DB8 #43B83D
analogous
#743DB8 #B23DB8 #B83D80
triadic
#B23DB8 #B8B23D #3DB8B2
tetradic
#B23DB8 #B8743D #43B83D #3D80B8
square
#B23DB8 #B8743D #43B83D #3D80B8
split-complementary
#B23DB8 #80B83D #3DB874
monochromatic
#591F5C #862E8A #B23DB8 #C766CC #D894DB

Accessibility & contrast

On white

4.94
#B23DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#B23DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23DB8
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23DB8#FFFFFF#000000##FFFFFF
##B23DB81.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2567BC
Deuteranopia (green-blind)
#5775B5
Tritanopia (blue-blind)
#B65076
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b23db8;
/* rgb */ color: rgb(178, 61, 184);
/* oklch */ color: oklch(57.3% 0.207 325.8);
Tailwind
colors: {
  custom: {
    50: '#cc7cce',
    500: '#b23db8',
    950: '#000000',
  },
}
SCSS
$custom: #b23db8;
$custom-light: #cc7cce;
$custom-dark: #000000;
JSON
{
  "hex": "#b23db8",
  "rgb": {
    "r": 178,
    "g": 61,
    "b": 184
  },
  "hsl": {
    "h": 297.073,
    "s": 50.204,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57274,
    "c": 0.2071,
    "h": 325.8
  },
  "luminance": 0.16263
}

Semantic roles & 50–950 ramp

primary
#B23DB8
secondary
#8DC78A
accent
#DA4E55
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B23DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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