#C04CD2#C04CD2

#C04CD2 is a light, highly saturated purple. Relative luminance 0.210; OKLCH L 62.2% C 0.217 H 322.1°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#C04CD2
RGBrgb(192, 76, 210)
HSLhsl(292, 60%, 56%)
HSVhsv(292, 64%, 82%)
CMYKcmyk(8.6%, 63.8%, 0%, 17.6%)
CIE-LABlab(52.98, 64.27, -47.83)
CIE-LCHlch(52.98, 80.12, 323.34°)
OKLaboklab(62.23% 0.1709 -0.1332)
OKLCHoklch(62.23% 0.217 322.1)
XYZxyz(35.9543, 21.0304, 63.1257)
Luminance0.2103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CD2 #5ED24C
analogous
#7D4CD2 #C04CD2 #D24CA1
triadic
#C04CD2 #D2C04C #4CD2C0
tetradic
#C04CD2 #D27D4C #5ED24C #4CA1D2
square
#C04CD2 #D27D4C #5ED24C #4CA1D2
split-complementary
#C04CD2 #A1D24C #4CD27D
monochromatic
#762183 #A22DB4 #C04CD2 #D17DDE #E2AEEB

Accessibility & contrast

On white

4.03
#C04CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#C04CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04CD2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04CD2#FFFFFF#000000##000000
##C04CD21.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B76D6
Deuteranopia (green-blind)
#5D83CF
Tritanopia (blue-blind)
#C26289
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c04cd2;
/* rgb */ color: rgb(192, 76, 210);
/* oklch */ color: oklch(62.2% 0.217 322.1);
Tailwind
colors: {
  custom: {
    50: '#d686e0',
    500: '#c04cd2',
    950: '#000000',
  },
}
SCSS
$custom: #c04cd2;
$custom-light: #d686e0;
$custom-dark: #000000;
JSON
{
  "hex": "#c04cd2",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 291.94,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62232,
    "c": 0.21671,
    "h": 322.1
  },
  "luminance": 0.21028
}

Semantic roles & 50–950 ramp

primary
#C04CD2
secondary
#A9D9A1
accent
#E3455A
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C04CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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