#C04CC7#C04CC7

#C04CC7 is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.6% C 0.207 H 325.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#C04CC7
RGBrgb(192, 76, 199)
HSLhsl(297, 52%, 54%)
HSVhsv(297, 62%, 78%)
CMYKcmyk(3.5%, 61.8%, 0%, 22%)
CIE-LABlab(52.40, 62.29, -42.46)
CIE-LCHlch(52.40, 75.39, 325.72°)
OKLaboklab(61.62% 0.1705 -0.1176)
OKLCHoklch(61.62% 0.207 325.4)
XYZxyz(34.6307, 20.5009, 56.1548)
Luminance0.2050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CC7 #53C74C
analogous
#834CC7 #C04CC7 #C74C91
triadic
#C04CC7 #C7C04C #4CC7C0
tetradic
#C04CC7 #C7834C #53C74C #4C91C7
square
#C04CC7 #C7834C #53C74C #4C91C7
split-complementary
#C04CC7 #91C74C #4CC783
monochromatic
#702474 #9C33A3 #C04CC7 #D07BD6 #E1A9E4

Accessibility & contrast

On white

4.12
#C04CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#C04CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04CC7
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04CC7#FFFFFF#000000##000000
##C04CC71.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3874CB
Deuteranopia (green-blind)
#6382C4
Tritanopia (blue-blind)
#C45D83
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c04cc7;
/* rgb */ color: rgb(192, 76, 199);
/* oklch */ color: oklch(61.6% 0.207 325.4);
Tailwind
colors: {
  custom: {
    50: '#d686d8',
    500: '#c04cc7',
    950: '#000000',
  },
}
SCSS
$custom: #c04cc7;
$custom-light: #d686d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c04cc7",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 296.585,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61621,
    "c": 0.20717,
    "h": 325.4
  },
  "luminance": 0.20499
}

Semantic roles & 50–950 ramp

primary
#C04CC7
secondary
#A0D29D
accent
#DC4C54
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C04CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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