#C23DC2#C23DC2

#C23DC2 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.1% C 0.223 H 327.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C23DC2
RGBrgb(194, 61, 194)
HSLhsl(300, 52%, 50%)
HSVhsv(300, 69%, 76%)
CMYKcmyk(0%, 68.6%, 0%, 23.9%)
CIE-LABlab(50.34, 67.78, -42.82)
CIE-LCHlch(50.34, 80.17, 327.72°)
OKLaboklab(60.11% 0.189 -0.1185)
OKLCHoklch(60.11% 0.223 327.9)
XYZxyz(33.6540, 18.7042, 52.8662)
Luminance0.1870 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23DC2 #3DC23D
analogous
#7F3DC2 #C23DC2 #C23D80
triadic
#C23DC2 #C2C23D #3DC2C2
tetradic
#C23DC2 #C2803D #3DC23D #3D7FC2
square
#C23DC2 #C2803D #3DC23D #3D7FC2
split-complementary
#C23DC2 #80C23D #3DC280
monochromatic
#652065 #932E93 #C23DC2 #D16CD1 #DF9ADF

Accessibility & contrast

On white

4.43
#C23DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#C23DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C23DC2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23DC2#FFFFFF#000000##000000
##C23DC21.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#286DC6
Deuteranopia (green-blind)
#5F7EBF
Tritanopia (blue-blind)
#C8507B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c23dc2;
/* rgb */ color: rgb(194, 61, 194);
/* oklch */ color: oklch(60.1% 0.223 327.9);
Tailwind
colors: {
  custom: {
    50: '#d87ed5',
    500: '#c23dc2',
    950: '#000000',
  },
}
SCSS
$custom: #c23dc2;
$custom-light: #d87ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#c23dc2",
  "rgb": {
    "r": 194,
    "g": 61,
    "b": 194
  },
  "hsl": {
    "h": 300,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.60108,
    "c": 0.22309,
    "h": 327.9
  },
  "luminance": 0.18702
}

Semantic roles & 50–950 ramp

primary
#C23DC2
secondary
#90CB90
accent
#DC4C4C
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C23DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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