#B23DB9#B23DB9

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

Color values

HEX#B23DB9
RGBrgb(178, 61, 185)
HSLhsl(297, 50%, 48%)
HSVhsv(297, 67%, 73%)
CMYKcmyk(3.8%, 67%, 0%, 27.5%)
CIE-LABlab(47.37, 62.61, -42.44)
CIE-LCHlch(47.37, 75.64, 325.87°)
OKLaboklab(57.33% 0.1713 -0.1178)
OKLCHoklch(57.33% 0.208 325.5)
XYZxyz(28.7852, 16.3071, 47.5210)
Luminance0.1631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23DB9 #44B93D
analogous
#743DB9 #B23DB9 #B93D82
triadic
#B23DB9 #B9B23D #3DB9B2
tetradic
#B23DB9 #B9743D #44B93D #3D82B9
square
#B23DB9 #B9743D #44B93D #3D82B9
split-complementary
#B23DB9 #82B93D #3DB974
monochromatic
#591F5D #862E8B #B23DB9 #C766CD #D895DC

Accessibility & contrast

On white

4.93
#B23DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#B23DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23DB9
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23DB9#FFFFFF#000000##FFFFFF
##B23DB91.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2467BD
Deuteranopia (green-blind)
#5675B6
Tritanopia (blue-blind)
#B65076
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b23db9;
/* rgb */ color: rgb(178, 61, 185);
/* oklch */ color: oklch(57.3% 0.208 325.5);
Tailwind
colors: {
  custom: {
    50: '#cc7cce',
    500: '#b23db9',
    950: '#000000',
  },
}
SCSS
$custom: #b23db9;
$custom-light: #cc7cce;
$custom-dark: #000000;
JSON
{
  "hex": "#b23db9",
  "rgb": {
    "r": 178,
    "g": 61,
    "b": 185
  },
  "hsl": {
    "h": 296.613,
    "s": 50.407,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57331,
    "c": 0.20793,
    "h": 325.5
  },
  "luminance": 0.16305
}

Semantic roles & 50–950 ramp

primary
#B23DB9
secondary
#8EC78B
accent
#DA4E56
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B23DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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