#C23DAF#C23DAF

#C23DAF is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.1% C 0.209 H 334.2°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#C23DAF
RGBrgb(194, 61, 175)
HSLhsl(309, 52%, 50%)
HSVhsv(309, 69%, 76%)
CMYKcmyk(0%, 68.6%, 9.8%, 23.9%)
CIE-LABlab(49.38, 64.77, -33.25)
CIE-LCHlch(49.38, 72.81, 332.82°)
OKLaboklab(59.11% 0.1879 -0.0909)
OKLCHoklch(59.11% 0.209 334.2)
XYZxyz(31.6550, 17.9046, 42.3379)
Luminance0.1790 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23DAF #3DC250
analogous
#923DC2 #C23DAF #C23D6D
triadic
#C23DAF #AFC23D #3DAFC2
tetradic
#C23DAF #C2923D #3DC250 #3D6DC2
square
#C23DAF #C2923D #3DC250 #3D6DC2
split-complementary
#C23DAF #6DC23D #3DC292
monochromatic
#65205B #932E85 #C23DAF #D16CC2 #DF9AD5

Accessibility & contrast

On white

4.58
#C23DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#C23DAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C23DAF
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23DAF#FFFFFF#000000##000000
##C23DAF1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B69B2
Deuteranopia (green-blind)
#697CAC
Tritanopia (blue-blind)
#CB4871
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c23daf;
/* rgb */ color: rgb(194, 61, 175);
/* oklch */ color: oklch(59.1% 0.209 334.2);
Tailwind
colors: {
  custom: {
    50: '#d87dc7',
    500: '#c23daf',
    950: '#000000',
  },
}
SCSS
$custom: #c23daf;
$custom-light: #d87dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#c23daf",
  "rgb": {
    "r": 194,
    "g": 61,
    "b": 175
  },
  "hsl": {
    "h": 308.571,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.59105,
    "c": 0.20872,
    "h": 334.2
  },
  "luminance": 0.17902
}

Semantic roles & 50–950 ramp

primary
#C23DAF
secondary
#90CB98
accent
#DC614C
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C23DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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