#C23BB2#C23BB2

#C23BB2 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.1% C 0.213 H 333.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#C23BB2
RGBrgb(194, 59, 178)
HSLhsl(307, 53%, 50%)
HSVhsv(307, 70%, 76%)
CMYKcmyk(0%, 69.6%, 8.2%, 23.9%)
CIE-LABlab(49.27, 65.95, -35.19)
CIE-LCHlch(49.27, 74.75, 331.92°)
OKLaboklab(59.07% 0.1903 -0.0964)
OKLCHoklch(59.07% 0.213 333.1)
XYZxyz(31.8481, 17.8142, 43.8720)
Luminance0.1781 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23BB2 #3BC24B
analogous
#8F3BC2 #C23BB2 #C23B6F
triadic
#C23BB2 #B2C23B #3BB2C2
tetradic
#C23BB2 #C28F3B #3BC24B #3B6FC2
square
#C23BB2 #C28F3B #3BC24B #3B6FC2
split-complementary
#C23BB2 #6FC23B #3BC28F
monochromatic
#641E5C #932D87 #C23BB2 #D169C5 #E098D7

Accessibility & contrast

On white

4.60
#C23BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#C23BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C23BB2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23BB2#FFFFFF#000000##FFFFFF
##C23BB21.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3669B5
Deuteranopia (green-blind)
#677CAF
Tritanopia (blue-blind)
#CB4872
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c23bb2;
/* rgb */ color: rgb(194, 59, 178);
/* oklch */ color: oklch(59.1% 0.213 333.1);
Tailwind
colors: {
  custom: {
    50: '#d87dc9',
    500: '#c23bb2',
    950: '#000000',
  },
}
SCSS
$custom: #c23bb2;
$custom-light: #d87dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#c23bb2",
  "rgb": {
    "r": 194,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 307.111,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59073,
    "c": 0.21331,
    "h": 333.1
  },
  "luminance": 0.17812
}

Semantic roles & 50–950 ramp

primary
#C23BB2
secondary
#8ECB95
accent
#DD5C4B
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C23BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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