#B23DBC#B23DBC

#B23DBC is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.5% C 0.210 H 324.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B23DBC
RGBrgb(178, 61, 188)
HSLhsl(295, 51%, 49%)
HSVhsv(295, 68%, 74%)
CMYKcmyk(5.3%, 67.6%, 0%, 26.3%)
CIE-LABlab(47.54, 63.13, -43.93)
CIE-LCHlch(47.54, 76.91, 325.17°)
OKLaboklab(57.5% 0.1714 -0.1221)
OKLCHoklch(57.5% 0.21 324.5)
XYZxyz(29.1052, 16.4351, 49.2065)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23DBC #47BC3D
analogous
#733DBC #B23DBC #BC3D87
triadic
#B23DBC #BCB23D #3DBCB2
tetradic
#B23DBC #BC733D #47BC3D #3D87BC
square
#B23DBC #BC733D #47BC3D #3D87BC
split-complementary
#B23DBC #87BC3D #3DBC73
monochromatic
#5B1F60 #862E8E #B23DBC #C668CE #D796DD

Accessibility & contrast

On white

4.90
#B23DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#B23DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23DBC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23DBC#FFFFFF#000000##FFFFFF
##B23DBC1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F68C0
Deuteranopia (green-blind)
#5476B9
Tritanopia (blue-blind)
#B65178
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b23dbc;
/* rgb */ color: rgb(178, 61, 188);
/* oklch */ color: oklch(57.5% 0.210 324.5);
Tailwind
colors: {
  custom: {
    50: '#cc7cd1',
    500: '#b23dbc',
    950: '#000000',
  },
}
SCSS
$custom: #b23dbc;
$custom-light: #cc7cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#b23dbc",
  "rgb": {
    "r": 178,
    "g": 61,
    "b": 188
  },
  "hsl": {
    "h": 295.276,
    "s": 51.004,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57503,
    "c": 0.21044,
    "h": 324.5
  },
  "luminance": 0.16433
}

Semantic roles & 50–950 ramp

primary
#B23DBC
secondary
#91C98C
accent
#DA4D58
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B23DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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