#D45FC2#D45FC2

#D45FC2 is a light, vivid purple. Relative luminance 0.261; OKLCH L 66.3% C 0.187 H 333.8°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#D45FC2
RGBrgb(212, 95, 194)
HSLhsl(309, 58%, 60%)
HSVhsv(309, 55%, 83%)
CMYKcmyk(0%, 55.2%, 8.5%, 16.9%)
CIE-LABlab(58.11, 58.28, -30.44)
CIE-LCHlch(58.11, 65.75, 332.43°)
OKLaboklab(66.3% 0.168 -0.0828)
OKLCHoklch(66.3% 0.187 333.8)
XYZxyz(40.9813, 26.0794, 53.9038)
Luminance0.2608 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45FC2 #5FD471
analogous
#AC5FD4 #D45FC2 #D45F87
triadic
#D45FC2 #C2D45F #5FC2D4
tetradic
#D45FC2 #D4AC5F #5FD471 #5F87D4
square
#D45FC2 #D4AC5F #5FD471 #5F87D4
split-complementary
#D45FC2 #87D45F #5FD4AC
monochromatic
#912781 #C234AC #D45FC2 #E18FD4 #EEBFE7

Accessibility & contrast

On white

3.38
#D45FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#D45FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45FC2
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45FC2#FFFFFF#000000##000000
##D45FC21.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D81C5
Deuteranopia (green-blind)
#8092BF
Tritanopia (blue-blind)
#DD6788
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d45fc2;
/* rgb */ color: rgb(212, 95, 194);
/* oklch */ color: oklch(66.3% 0.187 333.8);
Tailwind
colors: {
  custom: {
    50: '#e492d4',
    500: '#d45fc2',
    950: '#000000',
  },
}
SCSS
$custom: #d45fc2;
$custom-light: #e492d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d45fc2",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 194
  },
  "hsl": {
    "h": 309.231,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66301,
    "c": 0.18729,
    "h": 333.8
  },
  "luminance": 0.26077
}

Semantic roles & 50–950 ramp

primary
#D45FC2
secondary
#B1DEB8
accent
#C53A20
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #D45FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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