#C04FD5#C04FD5

#C04FD5 is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 62.7% C 0.215 H 321.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#C04FD5
RGBrgb(192, 79, 213)
HSLhsl(291, 61%, 57%)
HSVhsv(291, 63%, 84%)
CMYKcmyk(9.9%, 62.9%, 0%, 16.5%)
CIE-LABlab(53.60, 63.55, -48.55)
CIE-LCHlch(53.60, 79.98, 322.62°)
OKLaboklab(62.74% 0.1675 -0.1354)
OKLCHoklch(62.74% 0.215 321.1)
XYZxyz(36.5431, 21.6043, 65.1831)
Luminance0.2160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FD5 #64D54F
analogous
#7D4FD5 #C04FD5 #D54FA7
triadic
#C04FD5 #D5C04F #4FD5C0
tetradic
#C04FD5 #D57D4F #64D54F #4FA7D5
square
#C04FD5 #D57D4F #64D54F #4FA7D5
split-complementary
#C04FD5 #A7D54F #4FD57D
monochromatic
#792189 #A42CBA #C04FD5 #D280E1 #E3B2ED

Accessibility & contrast

On white

3.95
#C04FD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#C04FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FD5
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FD5#FFFFFF#000000##000000
##C04FD51.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D78D9
Deuteranopia (green-blind)
#5D84D2
Tritanopia (blue-blind)
#C2658B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c04fd5;
/* rgb */ color: rgb(192, 79, 213);
/* oklch */ color: oklch(62.7% 0.215 321.1);
Tailwind
colors: {
  custom: {
    50: '#d688e2',
    500: '#c04fd5',
    950: '#000000',
  },
}
SCSS
$custom: #c04fd5;
$custom-light: #d688e2;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fd5",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 290.597,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62735,
    "c": 0.21536,
    "h": 321.1
  },
  "luminance": 0.21603
}

Semantic roles & 50–950 ramp

primary
#C04FD5
secondary
#ADDBA5
accent
#E5435D
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C04FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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