#C04FE3#C04FE3

#C04FE3 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.6% C 0.228 H 317.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#C04FE3
RGBrgb(192, 79, 227)
HSLhsl(286, 73%, 60%)
HSVhsv(286, 65%, 89%)
CMYKcmyk(15.4%, 65.2%, 0%, 11%)
CIE-LABlab(54.39, 66.21, -55.22)
CIE-LCHlch(54.39, 86.21, 320.17°)
OKLaboklab(63.56% 0.1674 -0.1548)
OKLCHoklch(63.56% 0.228 317.2)
XYZxyz(38.3973, 22.3460, 74.9488)
Luminance0.2234 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FE3 #72E34F
analogous
#764FE3 #C04FE3 #E34FBC
triadic
#C04FE3 #E3C04F #4FE3C0
tetradic
#C04FE3 #E3764F #72E34F #4FBCE3
square
#C04FE3 #E3764F #72E34F #4FBCE3
split-complementary
#C04FE3 #BCE34F #4FE376
monochromatic
#7F199E #A922D3 #C04FE3 #D384EB #E6B9F4

Accessibility & contrast

On white

3.84
#C04FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#C04FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FE3
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FE3#FFFFFF#000000##000000
##C04FE31.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#107BE7
Deuteranopia (green-blind)
#5386DF
Tritanopia (blue-blind)
#BF6A93
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c04fe3;
/* rgb */ color: rgb(192, 79, 227);
/* oklch */ color: oklch(63.6% 0.228 317.2);
Tailwind
colors: {
  custom: {
    50: '#d788ec',
    500: '#c04fe3',
    950: '#000000',
  },
}
SCSS
$custom: #c04fe3;
$custom-light: #d788ec;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fe3",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 285.811,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.63557,
    "c": 0.22802,
    "h": 317.2
  },
  "luminance": 0.22344
}

Semantic roles & 50–950 ramp

primary
#C04FE3
secondary
#B8E3AA
accent
#EF3964
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C04FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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