#C04CCA#C04CCA

#C04CCA is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 61.8% C 0.210 H 324.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#C04CCA
RGBrgb(192, 76, 202)
HSLhsl(295, 54%, 55%)
HSVhsv(295, 62%, 79%)
CMYKcmyk(5%, 62.4%, 0%, 20.8%)
CIE-LABlab(52.55, 62.83, -43.93)
CIE-LCHlch(52.55, 76.66, 325.03°)
OKLaboklab(61.78% 0.1707 -0.1219)
OKLCHoklch(61.78% 0.21 324.5)
XYZxyz(34.9824, 20.6416, 58.0073)
Luminance0.2064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CCA #56CA4C
analogous
#814CCA #C04CCA #CA4C95
triadic
#C04CCA #CAC04C #4CCAC0
tetradic
#C04CCA #CA814C #56CA4C #4C95CA
square
#C04CCA #CA814C #56CA4C #4C95CA
split-complementary
#C04CCA #95CA4C #4CCA81
monochromatic
#712478 #9E32A7 #C04CCA #D17BD8 #E1AAE6

Accessibility & contrast

On white

4.10
#C04CCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#C04CCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04CCA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04CCA#FFFFFF#000000##000000
##C04CCA1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3574CE
Deuteranopia (green-blind)
#6282C7
Tritanopia (blue-blind)
#C45E84
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c04cca;
/* rgb */ color: rgb(192, 76, 202);
/* oklch */ color: oklch(61.8% 0.210 324.5);
Tailwind
colors: {
  custom: {
    50: '#d686da',
    500: '#c04cca',
    950: '#000000',
  },
}
SCSS
$custom: #c04cca;
$custom-light: #d686da;
$custom-dark: #000000;
JSON
{
  "hex": "#c04cca",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 202
  },
  "hsl": {
    "h": 295.238,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61784,
    "c": 0.20975,
    "h": 324.5
  },
  "luminance": 0.2064
}

Semantic roles & 50–950 ramp

primary
#C04CCA
secondary
#A2D49E
accent
#DE4A56
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C04CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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