#C045AD#C045AD

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

Color values

HEX#C045AD
RGBrgb(192, 69, 173)
HSLhsl(309, 49%, 51%)
HSVhsv(309, 64%, 75%)
CMYKcmyk(0%, 64.1%, 9.9%, 24.7%)
CIE-LABlab(50.08, 60.87, -31.01)
CIE-LCHlch(50.08, 68.32, 333.00°)
OKLaboklab(59.52% 0.1765 -0.0846)
OKLCHoklch(59.52% 0.196 334.4)
XYZxyz(31.4094, 18.4824, 41.4402)
Luminance0.1848 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C045AD #45C058
analogous
#9545C0 #C045AD #C0456F
triadic
#C045AD #ADC045 #45ADC0
tetradic
#C045AD #C09545 #45C058 #456FC0
square
#C045AD #C09545 #45C058 #456FC0
split-complementary
#C045AD #6FC045 #45C095
monochromatic
#68235D #953386 #C045AD #CF73C1 #DFA0D5

Accessibility & contrast

On white

4.47
#C045AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C045AD#FFFFFF#000000##000000
##C045AD1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#446CB0
Deuteranopia (green-blind)
#6C7EAA
Tritanopia (blue-blind)
#C94E73
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c045ad;
/* rgb */ color: rgb(192, 69, 173);
/* oklch */ color: oklch(59.5% 0.196 334.4);
Tailwind
colors: {
  custom: {
    50: '#d681c5',
    500: '#c045ad',
    950: '#000000',
  },
}
SCSS
$custom: #c045ad;
$custom-light: #d681c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c045ad",
  "rgb": {
    "r": 192,
    "g": 69,
    "b": 173
  },
  "hsl": {
    "h": 309.268,
    "s": 49.398,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59518,
    "c": 0.19575,
    "h": 334.4
  },
  "luminance": 0.1848
}

Semantic roles & 50–950 ramp

primary
#C045AD
secondary
#95CC9E
accent
#D9644F
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C045AD

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

Preview Lab → · Contrast checker → · Palette generator →

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