#C04FDE#C04FDE

#C04FDE is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.3% C 0.223 H 318.6°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#C04FDE
RGBrgb(192, 79, 222)
HSLhsl(287, 68%, 59%)
HSVhsv(287, 64%, 87%)
CMYKcmyk(13.5%, 64.4%, 0%, 12.9%)
CIE-LABlab(54.11, 65.25, -52.86)
CIE-LCHlch(54.11, 83.97, 320.99°)
OKLaboklab(63.26% 0.1675 -0.1479)
OKLCHoklch(63.26% 0.223 318.6)
XYZxyz(37.7172, 22.0740, 71.3670)
Luminance0.2207 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FDE #6DDE4F
analogous
#794FDE #C04FDE #DE4FB4
triadic
#C04FDE #DEC04F #4FDEC0
tetradic
#C04FDE #DE794F #6DDE4F #4FB4DE
square
#C04FDE #DE794F #6DDE4F #4FB4DE
split-complementary
#C04FDE #B4DE4F #4FDE79
monochromatic
#7D1C96 #A826CA #C04FDE #D283E8 #E5B6F1

Accessibility & contrast

On white

3.88
#C04FDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#C04FDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FDE
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FDE#FFFFFF#000000##000000
##C04FDE1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E7AE2
Deuteranopia (green-blind)
#5785DB
Tritanopia (blue-blind)
#C06890
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c04fde;
/* rgb */ color: rgb(192, 79, 222);
/* oklch */ color: oklch(63.3% 0.223 318.6);
Tailwind
colors: {
  custom: {
    50: '#d788e9',
    500: '#c04fde',
    950: '#000000',
  },
}
SCSS
$custom: #c04fde;
$custom-light: #d788e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fde",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 222
  },
  "hsl": {
    "h": 287.413,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63258,
    "c": 0.22347,
    "h": 318.6
  },
  "luminance": 0.22072
}

Semantic roles & 50–950 ramp

primary
#C04FDE
secondary
#B4E0A8
accent
#EB3D61
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C04FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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