#B23DBE#B23DBE

#B23DBE is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.6% C 0.212 H 323.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B23DBE
RGBrgb(178, 61, 190)
HSLhsl(294, 51%, 49%)
HSVhsv(294, 68%, 75%)
CMYKcmyk(6.3%, 67.9%, 0%, 25.5%)
CIE-LABlab(47.65, 63.49, -44.91)
CIE-LCHlch(47.65, 77.77, 324.72°)
OKLaboklab(57.62% 0.1714 -0.125)
OKLCHoklch(57.62% 0.212 323.9)
XYZxyz(29.3223, 16.5219, 50.3498)
Luminance0.1652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23DBE #49BE3D
analogous
#723DBE #B23DBE #BE3D89
triadic
#B23DBE #BEB23D #3DBEB2
tetradic
#B23DBE #BE723D #49BE3D #3D89BE
square
#B23DBE #BE723D #49BE3D #3D89BE
split-complementary
#B23DBE #89BE3D #3DBE72
monochromatic
#5B1F61 #872E90 #B23DBE #C569CF #D798DE

Accessibility & contrast

On white

4.88
#B23DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#B23DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23DBE
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23DBE#FFFFFF#000000##FFFFFF
##B23DBE1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C68C2
Deuteranopia (green-blind)
#5376BB
Tritanopia (blue-blind)
#B55279
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b23dbe;
/* rgb */ color: rgb(178, 61, 190);
/* oklch */ color: oklch(57.6% 0.212 323.9);
Tailwind
colors: {
  custom: {
    50: '#cd7cd2',
    500: '#b23dbe',
    950: '#000000',
  },
}
SCSS
$custom: #b23dbe;
$custom-light: #cd7cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#b23dbe",
  "rgb": {
    "r": 178,
    "g": 61,
    "b": 190
  },
  "hsl": {
    "h": 294.419,
    "s": 51.394,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57619,
    "c": 0.21212,
    "h": 323.9
  },
  "luminance": 0.1652
}

Semantic roles & 50–950 ramp

primary
#B23DBE
secondary
#93C98D
accent
#DB4D5A
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B23DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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