#C04CC1#C04CC1

#C04CC1 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.3% C 0.202 H 327.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#C04CC1
RGBrgb(192, 76, 193)
HSLhsl(299, 49%, 53%)
HSVhsv(299, 61%, 76%)
CMYKcmyk(0.5%, 60.6%, 0%, 24.3%)
CIE-LABlab(52.09, 61.25, -39.48)
CIE-LCHlch(52.09, 72.87, 327.19°)
OKLaboklab(61.3% 0.1702 -0.109)
OKLCHoklch(61.3% 0.202 327.4)
XYZxyz(33.9478, 20.2278, 52.5580)
Luminance0.2023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CC1 #4DC14C
analogous
#854CC1 #C04CC1 #C14C88
triadic
#C04CC1 #C1C04C #4CC1C0
tetradic
#C04CC1 #C1854C #4DC14C #4C88C1
square
#C04CC1 #C1854C #4DC14C #4C88C1
split-complementary
#C04CC1 #88C14C #4CC185
monochromatic
#6C266D #99359A #C04CC1 #D079D1 #E0A7E0

Accessibility & contrast

On white

4.16
#C04CC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#C04CC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04CC1
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04CC1#FFFFFF#000000##000000
##C04CC11.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D73C5
Deuteranopia (green-blind)
#6782BE
Tritanopia (blue-blind)
#C55B80
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c04cc1;
/* rgb */ color: rgb(192, 76, 193);
/* oklch */ color: oklch(61.3% 0.202 327.4);
Tailwind
colors: {
  custom: {
    50: '#d685d4',
    500: '#c04cc1',
    950: '#000000',
  },
}
SCSS
$custom: #c04cc1;
$custom-light: #d685d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c04cc1",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 193
  },
  "hsl": {
    "h": 299.487,
    "s": 48.548,
    "l": 52.745
  },
  "oklch": {
    "l": 0.613,
    "c": 0.20208,
    "h": 327.4
  },
  "luminance": 0.20226
}

Semantic roles & 50–950 ramp

primary
#C04CC1
secondary
#9BCE9B
accent
#D85051
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C04CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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