#C045AE#C045AE

#C045AE is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.6% C 0.197 H 334.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#C045AE
RGBrgb(192, 69, 174)
HSLhsl(309, 49%, 51%)
HSVhsv(309, 64%, 75%)
CMYKcmyk(0%, 64.1%, 9.4%, 24.7%)
CIE-LABlab(50.12, 61.03, -31.53)
CIE-LCHlch(50.12, 68.69, 332.68°)
OKLaboklab(59.57% 0.1767 -0.0861)
OKLCHoklch(59.57% 0.197 334)
XYZxyz(31.5065, 18.5212, 41.9517)
Luminance0.1852 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C045AE #45C057
analogous
#9445C0 #C045AE #C04570
triadic
#C045AE #AEC045 #45AEC0
tetradic
#C045AE #C09445 #45C057 #4570C0
square
#C045AE #C09445 #45C057 #4570C0
split-complementary
#C045AE #70C045 #45C094
monochromatic
#68235E #953387 #C045AE #CF73C2 #DFA0D6

Accessibility & contrast

On white

4.46
#C045AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#C045AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C045AE
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C045AE#FFFFFF#000000##000000
##C045AE1.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#436CB1
Deuteranopia (green-blind)
#6B7EAB
Tritanopia (blue-blind)
#C94E73
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c045ae;
/* rgb */ color: rgb(192, 69, 174);
/* oklch */ color: oklch(59.6% 0.197 334.0);
Tailwind
colors: {
  custom: {
    50: '#d681c6',
    500: '#c045ae',
    950: '#000000',
  },
}
SCSS
$custom: #c045ae;
$custom-light: #d681c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c045ae",
  "rgb": {
    "r": 192,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 308.78,
    "s": 49.398,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59567,
    "c": 0.19651,
    "h": 334
  },
  "luminance": 0.18519
}

Semantic roles & 50–950 ramp

primary
#C045AE
secondary
#95CC9D
accent
#D9634F
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C045AE

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

Preview Lab → · Contrast checker → · Palette generator →

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