#C045E1#C045E1

#C045E1 is a light, highly saturated purple. Relative luminance 0.209; OKLCH L 62.4% C 0.238 H 318.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#C045E1
RGBrgb(192, 69, 225)
HSLhsl(287, 72%, 58%)
HSVhsv(287, 69%, 88%)
CMYKcmyk(14.7%, 69.3%, 0%, 11.8%)
CIE-LABlab(52.84, 69.85, -56.58)
CIE-LCHlch(52.84, 89.89, 320.99°)
OKLaboklab(62.41% 0.178 -0.1587)
OKLCHoklch(62.41% 0.238 318.3)
XYZxyz(37.4551, 20.9006, 73.2809)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C045E1 #66E145
analogous
#7245E1 #C045E1 #E145B4
triadic
#C045E1 #E1C045 #45E1C0
tetradic
#C045E1 #E17245 #66E145 #45B4E1
square
#C045E1 #E17245 #66E145 #45B4E1
split-complementary
#C045E1 #B4E145 #45E172
monochromatic
#7A1894 #A520C8 #C045E1 #D27AE9 #E4AEF2

Accessibility & contrast

On white

4.05
#C045E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#C045E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C045E1
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C045E1#FFFFFF#000000##000000
##C045E11.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E5
Deuteranopia (green-blind)
#4C82DD
Tritanopia (blue-blind)
#BF638E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c045e1;
/* rgb */ color: rgb(192, 69, 225);
/* oklch */ color: oklch(62.4% 0.238 318.3);
Tailwind
colors: {
  custom: {
    50: '#d783eb',
    500: '#c045e1',
    950: '#000000',
  },
}
SCSS
$custom: #c045e1;
$custom-light: #d783eb;
$custom-dark: #000000;
JSON
{
  "hex": "#c045e1",
  "rgb": {
    "r": 192,
    "g": 69,
    "b": 225
  },
  "hsl": {
    "h": 287.308,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62406,
    "c": 0.23849,
    "h": 318.3
  },
  "luminance": 0.20899
}

Semantic roles & 50–950 ramp

primary
#C045E1
secondary
#AFE0A2
accent
#EF395F
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #C045E1

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

Preview Lab → · Contrast checker → · Palette generator →

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