#C04FD6#C04FD6

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

Color values

HEX#C04FD6
RGBrgb(192, 79, 214)
HSLhsl(290, 62%, 57%)
HSVhsv(290, 63%, 84%)
CMYKcmyk(10.3%, 63.1%, 0%, 16.1%)
CIE-LABlab(53.66, 63.74, -49.03)
CIE-LCHlch(53.66, 80.42, 322.43°)
OKLaboklab(62.79% 0.1675 -0.1368)
OKLCHoklch(62.79% 0.216 320.8)
XYZxyz(36.6704, 21.6553, 65.8536)
Luminance0.2165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FD6 #65D64F
analogous
#7C4FD6 #C04FD6 #D64FA9
triadic
#C04FD6 #D6C04F #4FD6C0
tetradic
#C04FD6 #D67C4F #65D64F #4FA9D6
square
#C04FD6 #D67C4F #65D64F #4FA9D6
split-complementary
#C04FD6 #A9D64F #4FD67C
monochromatic
#79208A #A52CBC #C04FD6 #D281E2 #E4B2ED

Accessibility & contrast

On white

3.94
#C04FD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#C04FD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FD6
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FD6#FFFFFF#000000##000000
##C04FD61.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C78DA
Deuteranopia (green-blind)
#5C84D3
Tritanopia (blue-blind)
#C1658C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c04fd6;
/* rgb */ color: rgb(192, 79, 214);
/* oklch */ color: oklch(62.8% 0.216 320.8);
Tailwind
colors: {
  custom: {
    50: '#d688e3',
    500: '#c04fd6',
    950: '#000000',
  },
}
SCSS
$custom: #c04fd6;
$custom-light: #d688e3;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fd6",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 214
  },
  "hsl": {
    "h": 290.222,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62792,
    "c": 0.21626,
    "h": 320.8
  },
  "luminance": 0.21653
}

Semantic roles & 50–950 ramp

primary
#C04FD6
secondary
#AEDCA5
accent
#E5435D
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C15
muted
#837D84

Preview Lab

Preview with #C04FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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