#C23DB7#C23DB7

#C23DB7 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.5% C 0.215 H 331.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C23DB7
RGBrgb(194, 61, 183)
HSLhsl(305, 52%, 50%)
HSVhsv(305, 69%, 76%)
CMYKcmyk(0%, 68.6%, 5.7%, 23.9%)
CIE-LABlab(49.77, 66.01, -37.32)
CIE-LCHlch(49.77, 75.83, 330.52°)
OKLaboklab(59.52% 0.1886 -0.1026)
OKLCHoklch(59.52% 0.215 331.4)
XYZxyz(32.4641, 18.2282, 46.5991)
Luminance0.1823 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23DB7 #3DC248
analogous
#8A3DC2 #C23DB7 #C23D75
triadic
#C23DB7 #B7C23D #3DB7C2
tetradic
#C23DB7 #C28A3D #3DC248 #3D75C2
square
#C23DB7 #C28A3D #3DC248 #3D75C2
split-complementary
#C23DB7 #75C23D #3DC28A
monochromatic
#65205F #932E8B #C23DB7 #D16CC8 #DF9ADA

Accessibility & contrast

On white

4.52
#C23DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#C23DB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C23DB7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23DB7#FFFFFF#000000##000000
##C23DB71.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#346ABA
Deuteranopia (green-blind)
#657DB4
Tritanopia (blue-blind)
#CA4B75
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c23db7;
/* rgb */ color: rgb(194, 61, 183);
/* oklch */ color: oklch(59.5% 0.215 331.4);
Tailwind
colors: {
  custom: {
    50: '#d87ecd',
    500: '#c23db7',
    950: '#000000',
  },
}
SCSS
$custom: #c23db7;
$custom-light: #d87ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#c23db7",
  "rgb": {
    "r": 194,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 304.962,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.59516,
    "c": 0.21466,
    "h": 331.4
  },
  "luminance": 0.18226
}

Semantic roles & 50–950 ramp

primary
#C23DB7
secondary
#90CB95
accent
#DC584C
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B13
muted
#837C82

Preview Lab

Preview with #C23DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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