#C45FC7#C45FC7

#C45FC7 is a light, vivid purple. Relative luminance 0.240; OKLCH L 64.5% C 0.181 H 326.3°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#C45FC7
RGBrgb(196, 95, 199)
HSLhsl(298, 48%, 58%)
HSVhsv(298, 52%, 78%)
CMYKcmyk(1.5%, 52.3%, 0%, 22%)
CIE-LABlab(56.13, 54.70, -36.54)
CIE-LCHlch(56.13, 65.79, 326.26°)
OKLaboklab(64.46% 0.151 -0.1006)
OKLCHoklch(64.46% 0.181 326.3)
XYZxyz(37.1652, 24.0458, 56.7055)
Luminance0.2404 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C45FC7 #62C75F
analogous
#905FC7 #C45FC7 #C75F96
triadic
#C45FC7 #C7C45F #5FC7C4
tetradic
#C45FC7 #C7905F #62C75F #5F96C7
square
#C45FC7 #C7905F #62C75F #5F96C7
split-complementary
#C45FC7 #96C75F #5FC790
monochromatic
#7D2C7F #A93CAC #C45FC7 #D58CD7 #E5BAE7

Accessibility & contrast

On white

3.62
#C45FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#C45FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C45FC7
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C45FC7#FFFFFF#000000##000000
##C45FC71.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#537ECA
Deuteranopia (green-blind)
#738BC4
Tritanopia (blue-blind)
#C96B8A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c45fc7;
/* rgb */ color: rgb(196, 95, 199);
/* oklch */ color: oklch(64.5% 0.181 326.3);
Tailwind
colors: {
  custom: {
    50: '#d891d8',
    500: '#c45fc7',
    950: '#000000',
  },
}
SCSS
$custom: #c45fc7;
$custom-light: #d891d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c45fc7",
  "rgb": {
    "r": 196,
    "g": 95,
    "b": 199
  },
  "hsl": {
    "h": 298.269,
    "s": 48.148,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64465,
    "c": 0.18142,
    "h": 326.3
  },
  "luminance": 0.24044
}

Semantic roles & 50–950 ramp

primary
#C45FC7
secondary
#ADD6AC
accent
#D85054
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #C45FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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