#C04FE7#C04FE7

#C04FE7 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.8% C 0.232 H 316.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#C04FE7
RGBrgb(192, 79, 231)
HSLhsl(285, 76%, 61%)
HSVhsv(285, 66%, 91%)
CMYKcmyk(16.9%, 65.8%, 0%, 9.4%)
CIE-LABlab(54.63, 66.98, -57.10)
CIE-LCHlch(54.63, 88.02, 319.55°)
OKLaboklab(63.8% 0.1672 -0.1603)
OKLCHoklch(63.8% 0.232 316.2)
XYZxyz(38.9558, 22.5694, 77.8901)
Luminance0.2257 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FE7 #76E74F
analogous
#744FE7 #C04FE7 #E74FC2
triadic
#C04FE7 #E7C04F #4FE7C0
tetradic
#C04FE7 #E7744F #76E74F #4FC2E7
square
#C04FE7 #E7744F #76E74F #4FC2E7
split-complementary
#C04FE7 #C2E74F #4FE774
monochromatic
#8117A5 #AA1EDB #C04FE7 #D385EE #E7BBF6

Accessibility & contrast

On white

3.81
#C04FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#C04FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FE7
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FE7#FFFFFF#000000##000000
##C04FE71.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEC
Deuteranopia (green-blind)
#4F86E3
Tritanopia (blue-blind)
#BE6C95
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c04fe7;
/* rgb */ color: rgb(192, 79, 231);
/* oklch */ color: oklch(63.8% 0.232 316.2);
Tailwind
colors: {
  custom: {
    50: '#d788ef',
    500: '#c04fe7',
    950: '#000000',
  },
}
SCSS
$custom: #c04fe7;
$custom-light: #d788ef;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fe7",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 231
  },
  "hsl": {
    "h": 284.605,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.638,
    "c": 0.23168,
    "h": 316.2
  },
  "luminance": 0.22568
}

Semantic roles & 50–950 ramp

primary
#C04FE7
secondary
#BBE6AC
accent
#D80D41
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C04FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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