#C04EFE#C04EFE

#C04EFE is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 65.2% C 0.254 H 310.9°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#C04EFE
RGBrgb(192, 78, 254)
HSLhsl(279, 99%, 65%)
HSVhsv(279, 69%, 100%)
CMYKcmyk(24.4%, 69.3%, 0%, 0.4%)
CIE-LABlab(55.90, 71.98, -67.89)
CIE-LCHlch(55.90, 98.94, 316.67°)
OKLaboklab(65.16% 0.1664 -0.192)
OKLCHoklch(65.16% 0.254 310.9)
XYZxyz(42.3486, 23.8120, 96.1120)
Luminance0.2381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04EFE #8CFE4E
analogous
#684EFE #C04EFE #FE4EE4
triadic
#C04EFE #FEC04E #4EFEC0
tetradic
#C04EFE #FE684E #8CFE4E #4EE4FE
square
#C04EFE #FE684E #8CFE4E #4EE4FE
split-complementary
#C04EFE #E4FE4E #4EFE68
monochromatic
#8701D0 #AA11FE #C04EFE #D68BFE #EBC8FF

Accessibility & contrast

On white

3.64
#C04EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#C04EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04EFE
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04EFE#FFFFFF#000000##000000
##C04EFE1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#3388FA
Tritanopia (blue-blind)
#B874A1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c04efe;
/* rgb */ color: rgb(192, 78, 254);
/* oklch */ color: oklch(65.2% 0.254 310.9);
Tailwind
colors: {
  custom: {
    50: '#d888ff',
    500: '#c04efe',
    950: '#000000',
  },
}
SCSS
$custom: #c04efe;
$custom-light: #d888ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c04efe",
  "rgb": {
    "r": 192,
    "g": 78,
    "b": 254
  },
  "hsl": {
    "h": 278.864,
    "s": 98.876,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65164,
    "c": 0.25405,
    "h": 310.9
  },
  "luminance": 0.23811
}

Semantic roles & 50–950 ramp

primary
#C04EFE
secondary
#CBF2B6
accent
#E60051
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #C04EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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