#C45EC8#C45EC8

#C45EC8 is a light, vivid purple. Relative luminance 0.239; OKLCH L 64.4% C 0.184 H 326.0°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#C45EC8
RGBrgb(196, 94, 200)
HSLhsl(298, 49%, 58%)
HSVhsv(298, 53%, 78%)
CMYKcmyk(2%, 53%, 0%, 21.6%)
CIE-LABlab(56.00, 55.37, -37.32)
CIE-LCHlch(56.00, 66.77, 326.02°)
OKLaboklab(64.38% 0.1525 -0.1028)
OKLCHoklch(64.38% 0.184 326)
XYZxyz(37.1922, 23.9133, 57.2891)
Luminance0.2391 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C45EC8 #62C85E
analogous
#8F5EC8 #C45EC8 #C85E97
triadic
#C45EC8 #C8C45E #5EC8C4
tetradic
#C45EC8 #C88F5E #62C85E #5E97C8
square
#C45EC8 #C88F5E #62C85E #5E97C8
split-complementary
#C45EC8 #97C85E #5EC88F
monochromatic
#7D2C80 #A93BAE #C45EC8 #D58CD8 #E5B9E7

Accessibility & contrast

On white

3.63
#C45EC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#C45EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C45EC8
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C45EC8#FFFFFF#000000##000000
##C45EC81.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#527ECB
Deuteranopia (green-blind)
#728BC5
Tritanopia (blue-blind)
#C96B8A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c45ec8;
/* rgb */ color: rgb(196, 94, 200);
/* oklch */ color: oklch(64.4% 0.184 326.0);
Tailwind
colors: {
  custom: {
    50: '#d890d9',
    500: '#c45ec8',
    950: '#000000',
  },
}
SCSS
$custom: #c45ec8;
$custom-light: #d890d9;
$custom-dark: #000000;
JSON
{
  "hex": "#c45ec8",
  "rgb": {
    "r": 196,
    "g": 94,
    "b": 200
  },
  "hsl": {
    "h": 297.736,
    "s": 49.074,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64382,
    "c": 0.18389,
    "h": 326
  },
  "luminance": 0.23911
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C45EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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