#C045E5#C045E5

#C045E5 is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.7% C 0.242 H 317.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#C045E5
RGBrgb(192, 69, 229)
HSLhsl(286, 75%, 58%)
HSVhsv(286, 70%, 90%)
CMYKcmyk(16.2%, 69.9%, 0%, 10.2%)
CIE-LABlab(53.08, 70.60, -58.45)
CIE-LCHlch(53.08, 91.65, 320.38°)
OKLaboklab(62.66% 0.1777 -0.1642)
OKLCHoklch(62.66% 0.242 317.3)
XYZxyz(38.0071, 21.1215, 76.1884)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C045E5 #6AE545
analogous
#7045E5 #C045E5 #E545BA
triadic
#C045E5 #E5C045 #45E5C0
tetradic
#C045E5 #E57045 #6AE545 #45BAE5
square
#C045E5 #E57045 #6AE545 #45BAE5
split-complementary
#C045E5 #BAE545 #45E570
monochromatic
#7B169A #A61DD0 #C045E5 #D27BED #E4B0F4

Accessibility & contrast

On white

4.02
#C045E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#C045E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C045E5
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C045E5#FFFFFF#000000##000000
##C045E51.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EA
Deuteranopia (green-blind)
#4982E1
Tritanopia (blue-blind)
#BE6591
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c045e5;
/* rgb */ color: rgb(192, 69, 229);
/* oklch */ color: oklch(62.7% 0.242 317.3);
Tailwind
colors: {
  custom: {
    50: '#d783ee',
    500: '#c045e5',
    950: '#000000',
  },
}
SCSS
$custom: #c045e5;
$custom-light: #d783ee;
$custom-dark: #000000;
JSON
{
  "hex": "#c045e5",
  "rgb": {
    "r": 192,
    "g": 69,
    "b": 229
  },
  "hsl": {
    "h": 286.125,
    "s": 75.472,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62656,
    "c": 0.24195,
    "h": 317.3
  },
  "luminance": 0.2112
}

Semantic roles & 50–950 ramp

primary
#C045E5
secondary
#B2E3A3
accent
#F23661
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #C045E5

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

Preview Lab → · Contrast checker → · Palette generator →

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