#C045D1#C045D1

#C045D1 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.4% C 0.225 H 322.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#C045D1
RGBrgb(192, 69, 209)
HSLhsl(293, 60%, 55%)
HSVhsv(293, 67%, 82%)
CMYKcmyk(8.1%, 67%, 0%, 18%)
CIE-LABlab(51.91, 66.92, -48.96)
CIE-LCHlch(51.91, 82.92, 323.81°)
OKLaboklab(61.44% 0.1786 -0.1365)
OKLCHoklch(61.44% 0.225 322.6)
XYZxyz(35.3738, 20.0681, 62.3195)
Luminance0.2007 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C045D1 #56D145
analogous
#7A45D1 #C045D1 #D1459C
triadic
#C045D1 #D1C045 #45D1C0
tetradic
#C045D1 #D17A45 #56D145 #459CD1
square
#C045D1 #D17A45 #56D145 #459CD1
split-complementary
#C045D1 #9CD145 #45D17A
monochromatic
#711F7D #9E2BAE #C045D1 #D176DD #E1A7E9

Accessibility & contrast

On white

4.19
#C045D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#C045D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C045D1
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C045D1#FFFFFF#000000##000000
##C045D11.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D73D5
Deuteranopia (green-blind)
#5981CE
Tritanopia (blue-blind)
#C35C86
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c045d1;
/* rgb */ color: rgb(192, 69, 209);
/* oklch */ color: oklch(61.4% 0.225 322.6);
Tailwind
colors: {
  custom: {
    50: '#d782e0',
    500: '#c045d1',
    950: '#000000',
  },
}
SCSS
$custom: #c045d1;
$custom-light: #d782e0;
$custom-dark: #000000;
JSON
{
  "hex": "#c045d1",
  "rgb": {
    "r": 192,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 292.714,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61444,
    "c": 0.22477,
    "h": 322.6
  },
  "luminance": 0.20066
}

Semantic roles & 50–950 ramp

primary
#C045D1
secondary
#A2D79B
accent
#E34458
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C045D1

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

Preview Lab → · Contrast checker → · Palette generator →

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