#C45FCC#C45FCC

#C45FCC is a light, vivid purple. Relative luminance 0.243; OKLCH L 64.7% C 0.186 H 324.6°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#C45FCC
RGBrgb(196, 95, 204)
HSLhsl(296, 52%, 59%)
HSVhsv(296, 53%, 80%)
CMYKcmyk(3.9%, 53.4%, 0%, 20%)
CIE-LABlab(56.37, 55.62, -39.02)
CIE-LCHlch(56.37, 67.94, 324.94°)
OKLaboklab(64.71% 0.1516 -0.1077)
OKLCHoklch(64.71% 0.186 324.6)
XYZxyz(37.7553, 24.2818, 59.8132)
Luminance0.2428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C45FCC #67CC5F
analogous
#8D5FCC #C45FCC #CC5F9D
triadic
#C45FCC #CCC45F #5FCCC4
tetradic
#C45FCC #CC8D5F #67CC5F #5F9DCC
square
#C45FCC #CC8D5F #67CC5F #5F9DCC
split-complementary
#C45FCC #9DCC5F #5FCC8D
monochromatic
#7F2B86 #AB39B4 #C45FCC #D58DDB #E6BCEA

Accessibility & contrast

On white

3.59
#C45FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#C45FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C45FCC
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C45FCC#FFFFFF#000000##000000
##C45FCC1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#507FD0
Deuteranopia (green-blind)
#718BC9
Tritanopia (blue-blind)
#C86D8D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c45fcc;
/* rgb */ color: rgb(196, 95, 204);
/* oklch */ color: oklch(64.7% 0.186 324.6);
Tailwind
colors: {
  custom: {
    50: '#d891dc',
    500: '#c45fcc',
    950: '#000000',
  },
}
SCSS
$custom: #c45fcc;
$custom-light: #d891dc;
$custom-dark: #000000;
JSON
{
  "hex": "#c45fcc",
  "rgb": {
    "r": 196,
    "g": 95,
    "b": 204
  },
  "hsl": {
    "h": 295.596,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64714,
    "c": 0.18599,
    "h": 324.6
  },
  "luminance": 0.2428
}

Semantic roles & 50–950 ramp

primary
#C45FCC
secondary
#B1D9AE
accent
#DB4D57
background
#FDF9FD
surface
#FBF1FB
border
#D4CBD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C45FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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