#C23DC5#C23DC5

#C23DC5 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.3% C 0.225 H 327.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C23DC5
RGBrgb(194, 61, 197)
HSLhsl(299, 54%, 51%)
HSVhsv(299, 69%, 77%)
CMYKcmyk(1.5%, 69%, 0%, 22.7%)
CIE-LABlab(50.50, 68.28, -44.30)
CIE-LCHlch(50.50, 81.39, 327.03°)
OKLaboklab(60.28% 0.1891 -0.1228)
OKLCHoklch(60.28% 0.225 327)
XYZxyz(33.9944, 18.8404, 54.6586)
Luminance0.1884 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23DC5 #40C53D
analogous
#7E3DC5 #C23DC5 #C53D84
triadic
#C23DC5 #C5C23D #3DC5C2
tetradic
#C23DC5 #C57E3D #40C53D #3D84C5
square
#C23DC5 #C57E3D #40C53D #3D84C5
split-complementary
#C23DC5 #84C53D #3DC57E
monochromatic
#671F68 #952D98 #C23DC5 #D16CD3 #E09BE1

Accessibility & contrast

On white

4.40
#C23DC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#C23DC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C23DC5
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23DC5#FFFFFF#000000##000000
##C23DC51.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#236DC9
Deuteranopia (green-blind)
#5E7EC2
Tritanopia (blue-blind)
#C7527D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c23dc5;
/* rgb */ color: rgb(194, 61, 197);
/* oklch */ color: oklch(60.3% 0.225 327.0);
Tailwind
colors: {
  custom: {
    50: '#d87ed7',
    500: '#c23dc5',
    950: '#000000',
  },
}
SCSS
$custom: #c23dc5;
$custom-light: #d87ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#c23dc5",
  "rgb": {
    "r": 194,
    "g": 61,
    "b": 197
  },
  "hsl": {
    "h": 298.676,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60276,
    "c": 0.22544,
    "h": 327
  },
  "luminance": 0.18838
}

Semantic roles & 50–950 ramp

primary
#C23DC5
secondary
#92CD91
accent
#DD4A4E
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C23DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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