#DF45E1#DF45E1

#DF45E1 is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.6% C 0.252 H 327.4°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#DF45E1
RGBrgb(223, 69, 225)
HSLhsl(299, 72%, 58%)
HSVhsv(299, 69%, 88%)
CMYKcmyk(0.9%, 69.3%, 0%, 11.8%)
CIE-LABlab(57.45, 76.40, -48.96)
CIE-LCHlch(57.45, 90.75, 327.35°)
OKLaboklab(66.62% 0.2122 -0.1357)
OKLCHoklch(66.62% 0.252 327.4)
XYZxyz(46.1495, 25.3837, 73.6884)
Luminance0.2538 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF45E1 #47E145
analogous
#9145E1 #DF45E1 #E14595
triadic
#DF45E1 #E1DF45 #45E1DF
tetradic
#DF45E1 #E19145 #47E145 #4595E1
square
#DF45E1 #E19145 #47E145 #4595E1
split-complementary
#DF45E1 #95E145 #45E191
monochromatic
#921894 #C620C8 #DF45E1 #E87AE9 #F1AEF2

Accessibility & contrast

On white

3.46
#DF45E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#DF45E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF45E1
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF45E1#FFFFFF#000000##000000
##DF45E11.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#287DE5
Deuteranopia (green-blind)
#6C91DD
Tritanopia (blue-blind)
#E55D8F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #df45e1;
/* rgb */ color: rgb(223, 69, 225);
/* oklch */ color: oklch(66.6% 0.252 327.4);
Tailwind
colors: {
  custom: {
    50: '#ed86eb',
    500: '#df45e1',
    950: '#000000',
  },
}
SCSS
$custom: #df45e1;
$custom-light: #ed86eb;
$custom-dark: #000000;
JSON
{
  "hex": "#df45e1",
  "rgb": {
    "r": 223,
    "g": 69,
    "b": 225
  },
  "hsl": {
    "h": 299.231,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.66619,
    "c": 0.25189,
    "h": 327.4
  },
  "luminance": 0.2538
}

Semantic roles & 50–950 ramp

primary
#DF45E1
secondary
#A2E0A2
accent
#EF393B
background
#FFF8FE
surface
#FEF0FD
border
#D6CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #DF45E1

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

Preview Lab → · Contrast checker → · Palette generator →

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