#B23DC1#B23DC1

#B23DC1 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.8% C 0.215 H 323.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B23DC1
RGBrgb(178, 61, 193)
HSLhsl(293, 52%, 50%)
HSVhsv(293, 68%, 76%)
CMYKcmyk(7.8%, 68.4%, 0%, 24.3%)
CIE-LABlab(47.82, 64.02, -46.39)
CIE-LCHlch(47.82, 79.06, 324.07°)
OKLaboklab(57.8% 0.1713 -0.1293)
OKLCHoklch(57.8% 0.215 323)
XYZxyz(29.6535, 16.6544, 52.0944)
Luminance0.1665 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23DC1 #4CC13D
analogous
#703DC1 #B23DC1 #C13D8E
triadic
#B23DC1 #C1B23D #3DC1B2
tetradic
#B23DC1 #C1703D #4CC13D #3D8EC1
square
#B23DC1 #C1703D #4CC13D #3D8EC1
split-complementary
#B23DC1 #8EC13D #3DC170
monochromatic
#5C2064 #872E92 #B23DC1 #C56BD0 #D799DF

Accessibility & contrast

On white

4.85
#B23DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#B23DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23DC1
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23DC1#FFFFFF#000000##FFFFFF
##B23DC11.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1569C5
Deuteranopia (green-blind)
#5176BE
Tritanopia (blue-blind)
#B5537B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b23dc1;
/* rgb */ color: rgb(178, 61, 193);
/* oklch */ color: oklch(57.8% 0.215 323.0);
Tailwind
colors: {
  custom: {
    50: '#cd7cd4',
    500: '#b23dc1',
    950: '#000000',
  },
}
SCSS
$custom: #b23dc1;
$custom-light: #cd7cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#b23dc1",
  "rgb": {
    "r": 178,
    "g": 61,
    "b": 193
  },
  "hsl": {
    "h": 293.182,
    "s": 51.969,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57796,
    "c": 0.21464,
    "h": 323
  },
  "luminance": 0.16653
}

Semantic roles & 50–950 ramp

primary
#B23DC1
secondary
#96CB8F
accent
#DB4C5D
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B23DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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