#D45FE3#D45FE3

#D45FE3 is a light, highly saturated purple. Relative luminance 0.277; OKLCH L 67.9% C 0.215 H 323.0°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#D45FE3
RGBrgb(212, 95, 227)
HSLhsl(293, 70%, 63%)
HSVhsv(293, 58%, 89%)
CMYKcmyk(6.6%, 58.1%, 0%, 11%)
CIE-LABlab(59.64, 63.96, -46.71)
CIE-LCHlch(59.64, 79.19, 323.86°)
OKLaboklab(67.92% 0.1719 -0.1296)
OKLCHoklch(67.92% 0.215 323)
XYZxyz(45.1074, 27.7299, 75.6346)
Luminance0.2773 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45FE3 #6EE35F
analogous
#925FE3 #D45FE3 #E35FB0
triadic
#D45FE3 #E3D45F #5FE3D4
tetradic
#D45FE3 #E3925F #6EE35F #5FB0E3
square
#D45FE3 #E3925F #6EE35F #5FB0E3
split-complementary
#D45FE3 #B0E35F #5FE392
monochromatic
#9A1EAA #C62BDA #D45FE3 #E293EC #F0C7F5

Accessibility & contrast

On white

3.21
#D45FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#D45FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45FE3
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45FE3#FFFFFF#000000##000000
##D45FE31.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4787E7
Deuteranopia (green-blind)
#7194DF
Tritanopia (blue-blind)
#D77298
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d45fe3;
/* rgb */ color: rgb(212, 95, 227);
/* oklch */ color: oklch(67.9% 0.215 323.0);
Tailwind
colors: {
  custom: {
    50: '#e492ec',
    500: '#d45fe3',
    950: '#000000',
  },
}
SCSS
$custom: #d45fe3;
$custom-light: #e492ec;
$custom-dark: #000000;
JSON
{
  "hex": "#d45fe3",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 227
  },
  "hsl": {
    "h": 293.182,
    "s": 70.213,
    "l": 63.137
  },
  "oklch": {
    "l": 0.67923,
    "c": 0.21525,
    "h": 323
  },
  "luminance": 0.27728
}

Semantic roles & 50–950 ramp

primary
#D45FE3
secondary
#BDE7B7
accent
#D21329
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D45FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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