#C04AE5#C04AE5

#C04AE5 is a light, highly saturated purple. Relative luminance 0.218; OKLCH L 63.2% C 0.236 H 317.0°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#C04AE5
RGBrgb(192, 74, 229)
HSLhsl(286, 75%, 59%)
HSVhsv(286, 68%, 90%)
CMYKcmyk(16.2%, 67.7%, 0%, 10.2%)
CIE-LABlab(53.77, 68.65, -57.34)
CIE-LCHlch(53.77, 89.44, 320.13°)
OKLaboklab(63.15% 0.1726 -0.161)
OKLCHoklch(63.15% 0.236 317)
XYZxyz(38.3278, 21.7627, 76.2952)
Luminance0.2176 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04AE5 #6FE54A
analogous
#724AE5 #C04AE5 #E54ABD
triadic
#C04AE5 #E5C04A #4AE5C0
tetradic
#C04AE5 #E5724A #6FE54A #4ABDE5
square
#C04AE5 #E5724A #6FE54A #4ABDE5
split-complementary
#C04AE5 #BDE54A #4AE572
monochromatic
#7E179E #A81ED3 #C04AE5 #D380ED #E5B5F4

Accessibility & contrast

On white

3.92
#C04AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#C04AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04AE5
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04AE5#FFFFFF#000000##000000
##C04AE51.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EA
Deuteranopia (green-blind)
#4D84E1
Tritanopia (blue-blind)
#BE6892
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c04ae5;
/* rgb */ color: rgb(192, 74, 229);
/* oklch */ color: oklch(63.2% 0.236 317.0);
Tailwind
colors: {
  custom: {
    50: '#d785ee',
    500: '#c04ae5',
    950: '#000000',
  },
}
SCSS
$custom: #c04ae5;
$custom-light: #d785ee;
$custom-dark: #000000;
JSON
{
  "hex": "#c04ae5",
  "rgb": {
    "r": 192,
    "g": 74,
    "b": 229
  },
  "hsl": {
    "h": 285.677,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.63151,
    "c": 0.23606,
    "h": 317
  },
  "luminance": 0.21761
}

Semantic roles & 50–950 ramp

primary
#C04AE5
secondary
#B6E4A7
accent
#F13663
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C04AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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