#B23DC8#B23DC8

#B23DC8 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.2% C 0.221 H 320.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B23DC8
RGBrgb(178, 61, 200)
HSLhsl(291, 56%, 51%)
HSVhsv(291, 70%, 78%)
CMYKcmyk(11%, 69.5%, 0%, 21.6%)
CIE-LABlab(48.23, 65.29, -49.79)
CIE-LCHlch(48.23, 82.11, 322.67°)
OKLaboklab(58.22% 0.1711 -0.1392)
OKLCHoklch(58.22% 0.221 320.9)
XYZxyz(30.4530, 16.9742, 56.3047)
Luminance0.1697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23DC8 #53C83D
analogous
#6C3DC8 #B23DC8 #C83D98
triadic
#B23DC8 #C8B23D #3DC8B2
tetradic
#B23DC8 #C86C3D #53C83D #3D98C8
square
#B23DC8 #C86C3D #53C83D #3D98C8
split-complementary
#B23DC8 #98C83D #3DC86C
monochromatic
#601F6C #8A2C9C #B23DC8 #C56DD6 #D89CE3

Accessibility & contrast

On white

4.78
#B23DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#B23DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23DC8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23DC8#FFFFFF#000000##FFFFFF
##B23DC81.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#4C77C5
Tritanopia (blue-blind)
#B3567E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b23dc8;
/* rgb */ color: rgb(178, 61, 200);
/* oklch */ color: oklch(58.2% 0.221 320.9);
Tailwind
colors: {
  custom: {
    50: '#cd7cd9',
    500: '#b23dc8',
    950: '#000000',
  },
}
SCSS
$custom: #b23dc8;
$custom-light: #cd7cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#b23dc8",
  "rgb": {
    "r": 178,
    "g": 61,
    "b": 200
  },
  "hsl": {
    "h": 290.504,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58217,
    "c": 0.22061,
    "h": 320.9
  },
  "luminance": 0.16973
}

Semantic roles & 50–950 ramp

primary
#B23DC8
secondary
#9BCF92
accent
#DF4960
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B23DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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