#C45FD8#C45FD8

#C45FD8 is a light, vivid purple. Relative luminance 0.249; OKLCH L 65.3% C 0.197 H 320.8°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#C45FD8
RGBrgb(196, 95, 216)
HSLhsl(290, 61%, 61%)
HSVhsv(290, 56%, 85%)
CMYKcmyk(9.3%, 56%, 0%, 15.3%)
CIE-LABlab(56.96, 57.86, -44.90)
CIE-LCHlch(56.96, 73.24, 322.19°)
OKLaboklab(65.34% 0.1528 -0.1247)
OKLCHoklch(65.34% 0.197 320.8)
XYZxyz(39.2504, 24.8798, 67.6872)
Luminance0.2488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C45FD8 #73D85F
analogous
#875FD8 #C45FD8 #D85FAF
triadic
#C45FD8 #D8C45F #5FD8C4
tetradic
#C45FD8 #D8875F #73D85F #5FAFD8
square
#C45FD8 #D8875F #73D85F #5FAFD8
split-complementary
#C45FD8 #AFD85F #5FD887
monochromatic
#852598 #B031C9 #C45FD8 #D690E4 #E8C1F0

Accessibility & contrast

On white

3.51
#C45FD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#C45FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C45FD8
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C45FD8#FFFFFF#000000##000000
##C45FD81.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4781DC
Deuteranopia (green-blind)
#6A8CD5
Tritanopia (blue-blind)
#C57193
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c45fd8;
/* rgb */ color: rgb(196, 95, 216);
/* oklch */ color: oklch(65.3% 0.197 320.8);
Tailwind
colors: {
  custom: {
    50: '#d891e4',
    500: '#c45fd8',
    950: '#000000',
  },
}
SCSS
$custom: #c45fd8;
$custom-light: #d891e4;
$custom-dark: #000000;
JSON
{
  "hex": "#c45fd8",
  "rgb": {
    "r": 196,
    "g": 95,
    "b": 216
  },
  "hsl": {
    "h": 290.083,
    "s": 60.804,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65338,
    "c": 0.19723,
    "h": 320.8
  },
  "luminance": 0.24878
}

Semantic roles & 50–950 ramp

primary
#C45FD8
secondary
#BAE0B3
accent
#C81D39
background
#FDF9FE
surface
#FBF1FC
border
#D4CBD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C45FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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