#D45FEA#D45FEA

#D45FEA is a light, highly saturated purple. Relative luminance 0.281; OKLCH L 68.3% C 0.222 H 321.0°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#D45FEA
RGBrgb(212, 95, 234)
HSLhsl(291, 77%, 65%)
HSVhsv(291, 59%, 92%)
CMYKcmyk(9.4%, 59.4%, 0%, 8.2%)
CIE-LABlab(60.00, 65.24, -50.05)
CIE-LCHlch(60.00, 82.23, 322.50°)
OKLaboklab(68.3% 0.1722 -0.1393)
OKLCHoklch(68.3% 0.222 321)
XYZxyz(46.0932, 28.1242, 80.8265)
Luminance0.2812 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45FEA #75EA5F
analogous
#8F5FEA #D45FEA #EA5FBA
triadic
#D45FEA #EAD45F #5FEAD4
tetradic
#D45FEA #EA8F5F #75EA5F #5FBAEA
square
#D45FEA #EA8F5F #75EA5F #5FBAEA
split-complementary
#D45FEA #BAEA5F #5FEA8F
monochromatic
#9E18B7 #C529E3 #D45FEA #E395F1 #F1CBF8

Accessibility & contrast

On white

3.17
#D45FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#D45FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45FEA
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45FEA#FFFFFF#000000##000000
##D45FEA1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4188EE
Deuteranopia (green-blind)
#6D95E6
Tritanopia (blue-blind)
#D6759C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d45fea;
/* rgb */ color: rgb(212, 95, 234);
/* oklch */ color: oklch(68.3% 0.222 321.0);
Tailwind
colors: {
  custom: {
    50: '#e493f1',
    500: '#d45fea',
    950: '#000000',
  },
}
SCSS
$custom: #d45fea;
$custom-light: #e493f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d45fea",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 234
  },
  "hsl": {
    "h": 290.504,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68299,
    "c": 0.22153,
    "h": 321
  },
  "luminance": 0.28122
}

Semantic roles & 50–950 ramp

primary
#D45FEA
secondary
#C2EABA
accent
#D90C2D
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #D45FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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