#C045D8#C045D8

#C045D8 is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.9% C 0.231 H 320.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#C045D8
RGBrgb(192, 69, 216)
HSLhsl(290, 65%, 56%)
HSVhsv(290, 68%, 85%)
CMYKcmyk(11.1%, 68.1%, 0%, 15.3%)
CIE-LABlab(52.31, 68.19, -52.32)
CIE-LCHlch(52.31, 85.95, 322.50°)
OKLaboklab(61.86% 0.1784 -0.1463)
OKLCHoklch(61.86% 0.231 320.7)
XYZxyz(36.2596, 20.4224, 66.9844)
Luminance0.2042 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C045D8 #5DD845
analogous
#7645D8 #C045D8 #D845A6
triadic
#C045D8 #D8C045 #45D8C0
tetradic
#C045D8 #D87645 #5DD845 #45A6D8
square
#C045D8 #D87645 #5DD845 #45A6D8
split-complementary
#C045D8 #A6D845 #45D876
monochromatic
#751C86 #A127B9 #C045D8 #D178E3 #E2AAED

Accessibility & contrast

On white

4.13
#C045D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#C045D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C045D8
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C045D8#FFFFFF#000000##000000
##C045D81.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0774DC
Deuteranopia (green-blind)
#5481D4
Tritanopia (blue-blind)
#C15F8A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c045d8;
/* rgb */ color: rgb(192, 69, 216);
/* oklch */ color: oklch(61.9% 0.231 320.7);
Tailwind
colors: {
  custom: {
    50: '#d782e5',
    500: '#c045d8',
    950: '#000000',
  },
}
SCSS
$custom: #c045d8;
$custom-light: #d782e5;
$custom-dark: #000000;
JSON
{
  "hex": "#c045d8",
  "rgb": {
    "r": 192,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 290.204,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61857,
    "c": 0.23073,
    "h": 320.7
  },
  "luminance": 0.20421
}

Semantic roles & 50–950 ramp

primary
#C045D8
secondary
#A8DB9E
accent
#E8405B
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #C045D8

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

Preview Lab → · Contrast checker → · Palette generator →

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