#C045B5#C045B5

#C045B5 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 59.9% C 0.202 H 331.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C045B5
RGBrgb(192, 69, 181)
HSLhsl(305, 49%, 51%)
HSVhsv(305, 64%, 75%)
CMYKcmyk(0%, 64.1%, 5.7%, 24.7%)
CIE-LABlab(50.45, 62.14, -35.10)
CIE-LCHlch(50.45, 71.37, 330.54°)
OKLaboklab(59.92% 0.1774 -0.0963)
OKLCHoklch(59.92% 0.202 331.5)
XYZxyz(32.2068, 18.8013, 45.6398)
Luminance0.1880 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C045B5 #45C050
analogous
#8D45C0 #C045B5 #C04577
triadic
#C045B5 #B5C045 #45B5C0
tetradic
#C045B5 #C08D45 #45C050 #4577C0
square
#C045B5 #C08D45 #45C050 #4577C0
split-complementary
#C045B5 #77C045 #45C08D
monochromatic
#682361 #95338C #C045B5 #CF73C7 #DFA0D9

Accessibility & contrast

On white

4.41
#C045B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#C045B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C045B5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C045B5#FFFFFF#000000##000000
##C045B51.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6DB8
Deuteranopia (green-blind)
#687EB2
Tritanopia (blue-blind)
#C85177
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c045b5;
/* rgb */ color: rgb(192, 69, 181);
/* oklch */ color: oklch(59.9% 0.202 331.5);
Tailwind
colors: {
  custom: {
    50: '#d681cb',
    500: '#c045b5',
    950: '#000000',
  },
}
SCSS
$custom: #c045b5;
$custom-light: #d681cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c045b5",
  "rgb": {
    "r": 192,
    "g": 69,
    "b": 181
  },
  "hsl": {
    "h": 305.366,
    "s": 49.398,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59916,
    "c": 0.20188,
    "h": 331.5
  },
  "luminance": 0.18799
}

Semantic roles & 50–950 ramp

primary
#C045B5
secondary
#95CC9A
accent
#D95B4F
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C045B5

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

Preview Lab → · Contrast checker → · Palette generator →

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