#C04FD2#C04FD2

#C04FD2 is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 62.6% C 0.213 H 321.9°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#C04FD2
RGBrgb(192, 79, 210)
HSLhsl(292, 59%, 57%)
HSVhsv(292, 62%, 82%)
CMYKcmyk(8.6%, 62.4%, 0%, 17.6%)
CIE-LABlab(53.44, 63.00, -47.10)
CIE-LCHlch(53.44, 78.66, 323.22°)
OKLaboklab(62.57% 0.1674 -0.1311)
OKLCHoklch(62.57% 0.213 321.9)
XYZxyz(36.1658, 21.4534, 63.1962)
Luminance0.2145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FD2 #61D24F
analogous
#7F4FD2 #C04FD2 #D24FA3
triadic
#C04FD2 #D2C04F #4FD2C0
tetradic
#C04FD2 #D27F4F #61D24F #4FA3D2
square
#C04FD2 #D27F4F #61D24F #4FA3D2
split-complementary
#C04FD2 #A3D24F #4FD27F
monochromatic
#772285 #A32EB5 #C04FD2 #D180DE #E3B0EB

Accessibility & contrast

On white

3.97
#C04FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#C04FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FD2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FD2#FFFFFF#000000##000000
##C04FD21.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3177D6
Deuteranopia (green-blind)
#5F84CF
Tritanopia (blue-blind)
#C2648A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c04fd2;
/* rgb */ color: rgb(192, 79, 210);
/* oklch */ color: oklch(62.6% 0.213 321.9);
Tailwind
colors: {
  custom: {
    50: '#d687e0',
    500: '#c04fd2',
    950: '#000000',
  },
}
SCSS
$custom: #c04fd2;
$custom-light: #d687e0;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fd2",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 291.756,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62565,
    "c": 0.21268,
    "h": 321.9
  },
  "luminance": 0.21452
}

Semantic roles & 50–950 ramp

primary
#C04FD2
secondary
#ABD9A4
accent
#E2455B
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C04FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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