#C04DDF#C04DDF

#C04DDF is a light, highly saturated purple. Relative luminance 0.218; OKLCH L 63.1% C 0.227 H 318.4°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#C04DDF
RGBrgb(192, 77, 223)
HSLhsl(287, 70%, 59%)
HSVhsv(287, 65%, 87%)
CMYKcmyk(13.9%, 65.5%, 0%, 12.5%)
CIE-LABlab(53.86, 66.28, -53.82)
CIE-LCHlch(53.86, 85.38, 320.92°)
OKLaboklab(63.1% 0.1697 -0.1507)
OKLCHoklch(63.1% 0.227 318.4)
XYZxyz(37.7096, 21.8436, 72.0276)
Luminance0.2184 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04DDF #6CDF4D
analogous
#774DDF #C04DDF #DF4DB5
triadic
#C04DDF #DFC04D #4DDFC0
tetradic
#C04DDF #DF774D #6CDF4D #4DB5DF
square
#C04DDF #DF774D #6CDF4D #4DB5DF
split-complementary
#C04DDF #B5DF4D #4DDF77
monochromatic
#7C1B97 #A724CA #C04DDF #D281E8 #E5B5F2

Accessibility & contrast

On white

3.91
#C04DDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#C04DDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04DDF
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04DDF#FFFFFF#000000##000000
##C04DDF1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1479E3
Deuteranopia (green-blind)
#5484DB
Tritanopia (blue-blind)
#C06790
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c04ddf;
/* rgb */ color: rgb(192, 77, 223);
/* oklch */ color: oklch(63.1% 0.227 318.4);
Tailwind
colors: {
  custom: {
    50: '#d787ea',
    500: '#c04ddf',
    950: '#000000',
  },
}
SCSS
$custom: #c04ddf;
$custom-light: #d787ea;
$custom-dark: #000000;
JSON
{
  "hex": "#c04ddf",
  "rgb": {
    "r": 192,
    "g": 77,
    "b": 223
  },
  "hsl": {
    "h": 287.26,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.631,
    "c": 0.22696,
    "h": 318.4
  },
  "luminance": 0.21842
}

Semantic roles & 50–950 ramp

primary
#C04DDF
secondary
#B3E1A7
accent
#EC3B61
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C04DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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