#C23CDC#C23CDC

#C23CDC is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.5% C 0.245 H 320.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#C23CDC
RGBrgb(194, 60, 220)
HSLhsl(290, 70%, 55%)
HSVhsv(290, 73%, 86%)
CMYKcmyk(11.8%, 72.7%, 0%, 13.7%)
CIE-LABlab(51.69, 72.59, -55.57)
CIE-LCHlch(51.69, 91.42, 322.56°)
OKLaboklab(61.55% 0.1892 -0.1557)
OKLCHoklch(61.55% 0.245 320.6)
XYZxyz(36.7807, 19.8703, 69.5943)
Luminance0.1987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23CDC #56DC3C
analogous
#723CDC #C23CDC #DC3CA6
triadic
#C23CDC #DCC23C #3CDCC2
tetradic
#C23CDC #DC723C #56DC3C #3CA6DC
square
#C23CDC #DC723C #56DC3C #3CA6DC
split-complementary
#C23CDC #A6DC3C #3CDC72
monochromatic
#741886 #A121BA #C23CDC #D270E5 #E2A4EF

Accessibility & contrast

On white

4.22
#C23CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#C23CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C23CDC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23CDC#FFFFFF#000000##000000
##C23CDC1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#4D80D8
Tritanopia (blue-blind)
#C35B89
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c23cdc;
/* rgb */ color: rgb(194, 60, 220);
/* oklch */ color: oklch(61.5% 0.245 320.6);
Tailwind
colors: {
  custom: {
    50: '#d97fe8',
    500: '#c23cdc',
    950: '#000000',
  },
}
SCSS
$custom: #c23cdc;
$custom-light: #d97fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#c23cdc",
  "rgb": {
    "r": 194,
    "g": 60,
    "b": 220
  },
  "hsl": {
    "h": 290.25,
    "s": 69.565,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61548,
    "c": 0.24503,
    "h": 320.6
  },
  "luminance": 0.19868
}

Semantic roles & 50–950 ramp

primary
#C23CDC
secondary
#A3DC98
accent
#EC3B58
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #C23CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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