#C045E8#C045E8

#C045E8 is a light, highly saturated purple. Relative luminance 0.213; OKLCH L 62.8% C 0.245 H 316.5°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#C045E8
RGBrgb(192, 69, 232)
HSLhsl(285, 78%, 59%)
HSVhsv(285, 70%, 91%)
CMYKcmyk(17.2%, 70.3%, 0%, 9%)
CIE-LABlab(53.27, 71.17, -59.85)
CIE-LCHlch(53.27, 92.98, 319.94°)
OKLaboklab(62.85% 0.1774 -0.1683)
OKLCHoklch(62.85% 0.245 316.5)
XYZxyz(38.4296, 21.2904, 78.4134)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C045E8 #6DE845
analogous
#6F45E8 #C045E8 #E845BF
triadic
#C045E8 #E8C045 #45E8C0
tetradic
#C045E8 #E86F45 #6DE845 #45BFE8
square
#C045E8 #E86F45 #6DE845 #45BFE8
split-complementary
#C045E8 #BFE845 #45E86F
monochromatic
#7D149F #A81AD5 #C045E8 #D27BEF #E5B2F5

Accessibility & contrast

On white

3.99
#C045E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#C045E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C045E8
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C045E8#FFFFFF#000000##000000
##C045E81.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078ED
Deuteranopia (green-blind)
#4683E4
Tritanopia (blue-blind)
#BE6692
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c045e8;
/* rgb */ color: rgb(192, 69, 232);
/* oklch */ color: oklch(62.8% 0.245 316.5);
Tailwind
colors: {
  custom: {
    50: '#d783f0',
    500: '#c045e8',
    950: '#000000',
  },
}
SCSS
$custom: #c045e8;
$custom-light: #d783f0;
$custom-dark: #000000;
JSON
{
  "hex": "#c045e8",
  "rgb": {
    "r": 192,
    "g": 69,
    "b": 232
  },
  "hsl": {
    "h": 285.276,
    "s": 77.99,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62845,
    "c": 0.24457,
    "h": 316.5
  },
  "luminance": 0.21289
}

Semantic roles & 50–950 ramp

primary
#C045E8
secondary
#B4E4A4
accent
#F43363
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150B17
muted
#837C85

Preview Lab

Preview with #C045E8

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

Preview Lab → · Contrast checker → · Palette generator →

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