#B23DCC#B23DCC

#B23DCC is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.5% C 0.224 H 319.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B23DCC
RGBrgb(178, 61, 204)
HSLhsl(289, 58%, 52%)
HSVhsv(289, 70%, 80%)
CMYKcmyk(12.7%, 70.1%, 0%, 20%)
CIE-LABlab(48.47, 66.03, -51.72)
CIE-LCHlch(48.47, 83.88, 321.93°)
OKLaboklab(58.46% 0.1709 -0.1449)
OKLCHoklch(58.46% 0.224 319.7)
XYZxyz(30.9265, 17.1636, 58.7989)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23DCC #57CC3D
analogous
#6B3DCC #B23DCC #CC3D9F
triadic
#B23DCC #CCB23D #3DCCB2
tetradic
#B23DCC #CC6B3D #57CC3D #3D9FCC
square
#B23DCC #CC6B3D #57CC3D #3D9FCC
split-complementary
#B23DCC #9FCC3D #3DCC6B
monochromatic
#621E71 #8C2AA1 #B23DCC #C56DD9 #D89EE5

Accessibility & contrast

On white

4.74
#B23DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#B23DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23DCC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23DCC#FFFFFF#000000##FFFFFF
##B23DCC1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#4977C9
Tritanopia (blue-blind)
#B25881
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b23dcc;
/* rgb */ color: rgb(178, 61, 204);
/* oklch */ color: oklch(58.5% 0.224 319.7);
Tailwind
colors: {
  custom: {
    50: '#cd7ddc',
    500: '#b23dcc',
    950: '#000000',
  },
}
SCSS
$custom: #b23dcc;
$custom-light: #cd7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#b23dcc",
  "rgb": {
    "r": 178,
    "g": 61,
    "b": 204
  },
  "hsl": {
    "h": 289.091,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58464,
    "c": 0.22405,
    "h": 319.7
  },
  "luminance": 0.17162
}

Semantic roles & 50–950 ramp

primary
#B23DCC
secondary
#9ED293
accent
#E24662
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B23DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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