#C04EFF#C04EFF

#C04EFF is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 65.2% C 0.255 H 310.7°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#C04EFF
RGBrgb(192, 78, 255)
HSLhsl(279, 100%, 65%)
HSVhsv(279, 69%, 100%)
CMYKcmyk(24.7%, 69.4%, 0%, 0%)
CIE-LABlab(55.96, 72.18, -68.34)
CIE-LCHlch(55.96, 99.40, 316.57°)
OKLaboklab(65.23% 0.1663 -0.1933)
OKLCHoklch(65.23% 0.255 310.7)
XYZxyz(42.5092, 23.8762, 96.9576)
Luminance0.2387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04EFF #8DFF4E
analogous
#674EFF #C04EFF #FF4EE6
triadic
#C04EFF #FFC04E #4EFFC0
tetradic
#C04EFF #FF674E #8DFF4E #4EE6FF
square
#C04EFF #FF674E #8DFF4E #4EE6FF
split-complementary
#C04EFF #E6FF4E #4EFF67
monochromatic
#8800D3 #AA11FF #C04EFF #D68BFF #ECC8FF

Accessibility & contrast

On white

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

On black

5.78
#C04EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04EFF
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04EFF#FFFFFF#000000##000000
##C04EFF1.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#3188FB
Tritanopia (blue-blind)
#B875A2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c04eff;
/* rgb */ color: rgb(192, 78, 255);
/* oklch */ color: oklch(65.2% 0.255 310.7);
Tailwind
colors: {
  custom: {
    50: '#d888ff',
    500: '#c04eff',
    950: '#000000',
  },
}
SCSS
$custom: #c04eff;
$custom-light: #d888ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c04eff",
  "rgb": {
    "r": 192,
    "g": 78,
    "b": 255
  },
  "hsl": {
    "h": 278.644,
    "s": 100,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6523,
    "c": 0.25498,
    "h": 310.7
  },
  "luminance": 0.23875
}

Semantic roles & 50–950 ramp

primary
#C04EFF
secondary
#CCF2B7
accent
#E60052
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #C04EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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