#C045B3#C045B3

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

Color values

HEX#C045B3
RGBrgb(192, 69, 179)
HSLhsl(306, 49%, 51%)
HSVhsv(306, 64%, 75%)
CMYKcmyk(0%, 64.1%, 6.8%, 24.7%)
CIE-LABlab(50.36, 61.82, -34.09)
CIE-LCHlch(50.36, 70.60, 331.13°)
OKLaboklab(59.82% 0.1772 -0.0934)
OKLCHoklch(59.82% 0.2 332.2)
XYZxyz(32.0030, 18.7198, 44.5668)
Luminance0.1872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C045B3 #45C052
analogous
#8F45C0 #C045B3 #C04575
triadic
#C045B3 #B3C045 #45B3C0
tetradic
#C045B3 #C08F45 #45C052 #4575C0
square
#C045B3 #C08F45 #45C052 #4575C0
split-complementary
#C045B3 #75C045 #45C08F
monochromatic
#682360 #95338B #C045B3 #CF73C6 #DFA0D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C045B3#FFFFFF#000000##000000
##C045B31.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)
#406DB6
Deuteranopia (green-blind)
#697EB0
Tritanopia (blue-blind)
#C85076
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c045b3;
/* rgb */ color: rgb(192, 69, 179);
/* oklch */ color: oklch(59.8% 0.200 332.2);
Tailwind
colors: {
  custom: {
    50: '#d681ca',
    500: '#c045b3',
    950: '#000000',
  },
}
SCSS
$custom: #c045b3;
$custom-light: #d681ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c045b3",
  "rgb": {
    "r": 192,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 306.341,
    "s": 49.398,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59815,
    "c": 0.20032,
    "h": 332.2
  },
  "luminance": 0.18717
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C045B3

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

Preview Lab → · Contrast checker → · Palette generator →

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