#C04FE8#C04FE8

#C04FE8 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.9% C 0.233 H 316.0°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#C04FE8
RGBrgb(192, 79, 232)
HSLhsl(284, 77%, 61%)
HSVhsv(284, 66%, 91%)
CMYKcmyk(17.2%, 65.9%, 0%, 9%)
CIE-LABlab(54.69, 67.18, -57.57)
CIE-LCHlch(54.69, 88.47, 319.40°)
OKLaboklab(63.86% 0.1672 -0.1617)
OKLCHoklch(63.86% 0.233 316)
XYZxyz(39.0974, 22.6261, 78.6361)
Luminance0.2263 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FE8 #77E84F
analogous
#734FE8 #C04FE8 #E84FC3
triadic
#C04FE8 #E8C04F #4FE8C0
tetradic
#C04FE8 #E8734F #77E84F #4FC3E8
square
#C04FE8 #E8734F #77E84F #4FC3E8
split-complementary
#C04FE8 #C3E84F #4FE873
monochromatic
#8116A7 #AB1DDD #C04FE8 #D385EF #E7BBF6

Accessibility & contrast

On white

3.80
#C04FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#C04FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FE8
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FE8#FFFFFF#000000##000000
##C04FE81.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CED
Deuteranopia (green-blind)
#4E86E4
Tritanopia (blue-blind)
#BD6C95
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c04fe8;
/* rgb */ color: rgb(192, 79, 232);
/* oklch */ color: oklch(63.9% 0.233 316.0);
Tailwind
colors: {
  custom: {
    50: '#d788f0',
    500: '#c04fe8',
    950: '#000000',
  },
}
SCSS
$custom: #c04fe8;
$custom-light: #d788f0;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fe8",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 284.314,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63861,
    "c": 0.23259,
    "h": 316
  },
  "luminance": 0.22625
}

Semantic roles & 50–950 ramp

primary
#C04FE8
secondary
#BCE6AD
accent
#D90C42
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #C04FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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