#C045C5#C045C5

#C045C5 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.8% C 0.215 H 326.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#C045C5
RGBrgb(192, 69, 197)
HSLhsl(298, 52%, 52%)
HSVhsv(298, 65%, 77%)
CMYKcmyk(2.5%, 65%, 0%, 22.7%)
CIE-LABlab(51.26, 64.81, -43.11)
CIE-LCHlch(51.26, 77.84, 326.37°)
OKLaboklab(60.76% 0.1785 -0.1194)
OKLCHoklch(60.76% 0.215 326.2)
XYZxyz(33.9437, 19.4961, 54.7878)
Luminance0.1949 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C045C5 #4AC545
analogous
#8045C5 #C045C5 #C5458A
triadic
#C045C5 #C5C045 #45C5C0
tetradic
#C045C5 #C58045 #4AC545 #458AC5
square
#C045C5 #C58045 #4AC545 #458AC5
split-complementary
#C045C5 #8AC545 #45C580
monochromatic
#6B226D #98319C #C045C5 #D074D4 #E0A2E2

Accessibility & contrast

On white

4.29
#C045C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#C045C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C045C5
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C045C5#FFFFFF#000000##000000
##C045C51.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F70C9
Deuteranopia (green-blind)
#6080C2
Tritanopia (blue-blind)
#C5587F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c045c5;
/* rgb */ color: rgb(192, 69, 197);
/* oklch */ color: oklch(60.8% 0.215 326.2);
Tailwind
colors: {
  custom: {
    50: '#d682d7',
    500: '#c045c5',
    950: '#000000',
  },
}
SCSS
$custom: #c045c5;
$custom-light: #d682d7;
$custom-dark: #000000;
JSON
{
  "hex": "#c045c5",
  "rgb": {
    "r": 192,
    "g": 69,
    "b": 197
  },
  "hsl": {
    "h": 297.656,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60764,
    "c": 0.21474,
    "h": 326.2
  },
  "luminance": 0.19494
}

Semantic roles & 50–950 ramp

primary
#C045C5
secondary
#99CF97
accent
#DC4C52
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C045C5

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

Preview Lab → · Contrast checker → · Palette generator →

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