#C045B1#C045B1

#C045B1 is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.7% C 0.199 H 332.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#C045B1
RGBrgb(192, 69, 177)
HSLhsl(307, 49%, 51%)
HSVhsv(307, 64%, 75%)
CMYKcmyk(0%, 64.1%, 7.8%, 24.7%)
CIE-LABlab(50.26, 61.50, -33.07)
CIE-LCHlch(50.26, 69.83, 331.74°)
OKLaboklab(59.72% 0.177 -0.0905)
OKLCHoklch(59.72% 0.199 332.9)
XYZxyz(31.8022, 18.6395, 43.5092)
Luminance0.1864 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C045B1 #45C054
analogous
#9145C0 #C045B1 #C04573
triadic
#C045B1 #B1C045 #45B1C0
tetradic
#C045B1 #C09145 #45C054 #4573C0
square
#C045B1 #C09145 #45C054 #4573C0
split-complementary
#C045B1 #73C045 #45C091
monochromatic
#68235F #953389 #C045B1 #CF73C4 #DFA0D7

Accessibility & contrast

On white

4.44
#C045B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#C045B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C045B1
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C045B1#FFFFFF#000000##000000
##C045B11.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#416CB4
Deuteranopia (green-blind)
#6A7EAE
Tritanopia (blue-blind)
#C84F75
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c045b1;
/* rgb */ color: rgb(192, 69, 177);
/* oklch */ color: oklch(59.7% 0.199 332.9);
Tailwind
colors: {
  custom: {
    50: '#d681c8',
    500: '#c045b1',
    950: '#000000',
  },
}
SCSS
$custom: #c045b1;
$custom-light: #d681c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c045b1",
  "rgb": {
    "r": 192,
    "g": 69,
    "b": 177
  },
  "hsl": {
    "h": 307.317,
    "s": 49.398,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59715,
    "c": 0.19879,
    "h": 332.9
  },
  "luminance": 0.18637
}

Semantic roles & 50–950 ramp

primary
#C045B1
secondary
#95CC9C
accent
#D9604F
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C045B1

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

Preview Lab → · Contrast checker → · Palette generator →

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