#C04FD7#C04FD7

#C04FD7 is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 62.8% C 0.217 H 320.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#C04FD7
RGBrgb(192, 79, 215)
HSLhsl(290, 63%, 58%)
HSVhsv(290, 63%, 84%)
CMYKcmyk(10.7%, 63.3%, 0%, 15.7%)
CIE-LABlab(53.71, 63.93, -49.51)
CIE-LCHlch(53.71, 80.86, 322.24°)
OKLaboklab(62.85% 0.1675 -0.1382)
OKLCHoklch(62.85% 0.217 320.5)
XYZxyz(36.7985, 21.7065, 66.5283)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FD7 #66D74F
analogous
#7C4FD7 #C04FD7 #D74FAA
triadic
#C04FD7 #D7C04F #4FD7C0
tetradic
#C04FD7 #D77C4F #66D74F #4FAAD7
square
#C04FD7 #D77C4F #66D74F #4FAAD7
split-complementary
#C04FD7 #AAD74F #4FD77C
monochromatic
#7A208C #A52BBE #C04FD7 #D281E2 #E4B3EE

Accessibility & contrast

On white

3.93
#C04FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#C04FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FD7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FD7#FFFFFF#000000##000000
##C04FD71.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A78DB
Deuteranopia (green-blind)
#5C84D4
Tritanopia (blue-blind)
#C1668C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c04fd7;
/* rgb */ color: rgb(192, 79, 215);
/* oklch */ color: oklch(62.8% 0.217 320.5);
Tailwind
colors: {
  custom: {
    50: '#d688e4',
    500: '#c04fd7',
    950: '#000000',
  },
}
SCSS
$custom: #c04fd7;
$custom-light: #d688e4;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fd7",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 289.853,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62849,
    "c": 0.21716,
    "h": 320.5
  },
  "luminance": 0.21705
}

Semantic roles & 50–950 ramp

primary
#C04FD7
secondary
#AFDCA6
accent
#E6425E
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C15
muted
#837D84

Preview Lab

Preview with #C04FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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