#C45CD2#C45CD2

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

Color values

HEX#C45CD2
RGBrgb(196, 92, 210)
HSLhsl(293, 57%, 59%)
HSVhsv(293, 56%, 82%)
CMYKcmyk(6.7%, 56.2%, 0%, 17.6%)
CIE-LABlab(56.13, 58.15, -42.81)
CIE-LCHlch(56.13, 72.20, 323.64°)
OKLaboklab(64.64% 0.1561 -0.1186)
OKLCHoklch(64.64% 0.196 322.8)
XYZxyz(38.2238, 24.0451, 63.5881)
Luminance0.2404 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C45CD2 #6AD25C
analogous
#895CD2 #C45CD2 #D25CA5
triadic
#C45CD2 #D2C45C #5CD2C4
tetradic
#C45CD2 #D2895C #6AD25C #5CA5D2
square
#C45CD2 #D2895C #6AD25C #5CA5D2
split-complementary
#C45CD2 #A5D25C #5CD289
monochromatic
#81278D #AC34BD #C45CD2 #D58CDF #E7BCEC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C45CD2#FFFFFF#000000##000000
##C45CD21.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)
#487FD6
Deuteranopia (green-blind)
#6B8BCF
Tritanopia (blue-blind)
#C76D8E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c45cd2;
/* rgb */ color: rgb(196, 92, 210);
/* oklch */ color: oklch(64.6% 0.196 322.8);
Tailwind
colors: {
  custom: {
    50: '#d88fe0',
    500: '#c45cd2',
    950: '#000000',
  },
}
SCSS
$custom: #c45cd2;
$custom-light: #d88fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#c45cd2",
  "rgb": {
    "r": 196,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 292.881,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64637,
    "c": 0.19609,
    "h": 322.8
  },
  "luminance": 0.24043
}

Semantic roles & 50–950 ramp

primary
#C45CD2
secondary
#B3DCAE
accent
#E0485A
background
#FDF9FD
surface
#FBF1FB
border
#D4CBD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C45CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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