#D45EF2#D45EF2

#D45EF2 is a light, highly saturated purple. Relative luminance 0.284; OKLCH L 68.6% C 0.230 H 319.0°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#D45EF2
RGBrgb(212, 94, 242)
HSLhsl(288, 85%, 66%)
HSVhsv(288, 61%, 95%)
CMYKcmyk(12.4%, 61.2%, 0%, 5.1%)
CIE-LABlab(60.26, 67.17, -54.09)
CIE-LCHlch(60.26, 86.24, 321.16°)
OKLaboklab(68.63% 0.1737 -0.1511)
OKLCHoklch(68.63% 0.23 319)
XYZxyz(47.1790, 28.4153, 86.9867)
Luminance0.2841 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45EF2 #7CF25E
analogous
#8A5EF2 #D45EF2 #F25EC6
triadic
#D45EF2 #F2D45E #5EF2D4
tetradic
#D45EF2 #F28A5E #7CF25E #5EC6F2
square
#D45EF2 #F28A5E #7CF25E #5EC6F2
split-complementary
#D45EF2 #C6F25E #5EF28A
monochromatic
#A110C6 #C525ED #D45EF2 #E397F7 #F2CFFB

Accessibility & contrast

On white

3.14
#D45EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#D45EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45EF2
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45EF2#FFFFFF#000000##000000
##D45EF21.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3589F7
Deuteranopia (green-blind)
#6795EE
Tritanopia (blue-blind)
#D477A0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d45ef2;
/* rgb */ color: rgb(212, 94, 242);
/* oklch */ color: oklch(68.6% 0.230 319.0);
Tailwind
colors: {
  custom: {
    50: '#e592f7',
    500: '#d45ef2',
    950: '#000000',
  },
}
SCSS
$custom: #d45ef2;
$custom-light: #e592f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d45ef2",
  "rgb": {
    "r": 212,
    "g": 94,
    "b": 242
  },
  "hsl": {
    "h": 287.838,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68625,
    "c": 0.23017,
    "h": 319
  },
  "luminance": 0.28413
}

Semantic roles & 50–950 ramp

primary
#D45EF2
secondary
#C7EEBD
accent
#E20431
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D45EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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