#C45DC7#C45DC7

#C45DC7 is a light, vivid purple. Relative luminance 0.237; OKLCH L 64.2% C 0.185 H 326.4°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#C45DC7
RGBrgb(196, 93, 199)
HSLhsl(298, 49%, 57%)
HSVhsv(298, 53%, 78%)
CMYKcmyk(1.5%, 53.3%, 0%, 22%)
CIE-LABlab(55.78, 55.66, -37.10)
CIE-LCHlch(55.78, 66.89, 326.31°)
OKLaboklab(64.2% 0.1537 -0.1022)
OKLCHoklch(64.2% 0.185 326.4)
XYZxyz(36.9874, 23.6901, 56.6462)
Luminance0.2369 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C45DC7 #60C75D
analogous
#8F5DC7 #C45DC7 #C75D95
triadic
#C45DC7 #C7C45D #5DC7C4
tetradic
#C45DC7 #C78F5D #60C75D #5D95C7
square
#C45DC7 #C78F5D #60C75D #5D95C7
split-complementary
#C45DC7 #95C75D #5DC78F
monochromatic
#7C2C7E #A83BAC #C45DC7 #D58AD7 #E5B8E6

Accessibility & contrast

On white

3.66
#C45DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#C45DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C45DC7
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C45DC7#FFFFFF#000000##000000
##C45DC71.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#517DCA
Deuteranopia (green-blind)
#728AC4
Tritanopia (blue-blind)
#C96A89
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c45dc7;
/* rgb */ color: rgb(196, 93, 199);
/* oklch */ color: oklch(64.2% 0.185 326.4);
Tailwind
colors: {
  custom: {
    50: '#d890d8',
    500: '#c45dc7',
    950: '#000000',
  },
}
SCSS
$custom: #c45dc7;
$custom-light: #d890d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c45dc7",
  "rgb": {
    "r": 196,
    "g": 93,
    "b": 199
  },
  "hsl": {
    "h": 298.302,
    "s": 48.624,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64202,
    "c": 0.18454,
    "h": 326.4
  },
  "luminance": 0.23688
}

Semantic roles & 50–950 ramp

primary
#C45DC7
secondary
#ACD5AA
accent
#D85053
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #C45DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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