#C045B2#C045B2

#C045B2 is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.8% C 0.200 H 332.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C045B2
RGBrgb(192, 69, 178)
HSLhsl(307, 49%, 51%)
HSVhsv(307, 64%, 75%)
CMYKcmyk(0%, 64.1%, 7.3%, 24.7%)
CIE-LABlab(50.31, 61.66, -33.58)
CIE-LCHlch(50.31, 70.21, 331.43°)
OKLaboklab(59.77% 0.1771 -0.0919)
OKLCHoklch(59.77% 0.2 332.6)
XYZxyz(31.9023, 18.6795, 44.0361)
Luminance0.1868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C045B2 #45C053
analogous
#9045C0 #C045B2 #C04574
triadic
#C045B2 #B2C045 #45B2C0
tetradic
#C045B2 #C09045 #45C053 #4574C0
square
#C045B2 #C09045 #45C053 #4574C0
split-complementary
#C045B2 #74C045 #45C090
monochromatic
#682360 #95338A #C045B2 #CF73C5 #DFA0D8

Accessibility & contrast

On white

4.43
#C045B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#C045B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C045B2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C045B2#FFFFFF#000000##000000
##C045B21.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#406CB5
Deuteranopia (green-blind)
#6A7EAF
Tritanopia (blue-blind)
#C85075
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c045b2;
/* rgb */ color: rgb(192, 69, 178);
/* oklch */ color: oklch(59.8% 0.200 332.6);
Tailwind
colors: {
  custom: {
    50: '#d681c9',
    500: '#c045b2',
    950: '#000000',
  },
}
SCSS
$custom: #c045b2;
$custom-light: #d681c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c045b2",
  "rgb": {
    "r": 192,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 306.829,
    "s": 49.398,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59765,
    "c": 0.19956,
    "h": 332.6
  },
  "luminance": 0.18677
}

Semantic roles & 50–950 ramp

primary
#C045B2
secondary
#95CC9B
accent
#D95F4F
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C045B2

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

Preview Lab → · Contrast checker → · Palette generator →

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