#D45CF7#D45CF7

#D45CF7 is a light, highly saturated purple. Relative luminance 0.284; OKLCH L 68.7% C 0.237 H 317.8°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#D45CF7
RGBrgb(212, 92, 247)
HSLhsl(286, 91%, 66%)
HSVhsv(286, 63%, 97%)
CMYKcmyk(14.2%, 62.8%, 0%, 3.1%)
CIE-LABlab(60.22, 68.98, -56.93)
CIE-LCHlch(60.22, 89.44, 320.47°)
OKLaboklab(68.68% 0.176 -0.1593)
OKLCHoklch(68.68% 0.237 317.8)
XYZxyz(47.7647, 28.3687, 90.9373)
Luminance0.2837 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45CF7 #7FF75C
analogous
#875CF7 #D45CF7 #F75CCC
triadic
#D45CF7 #F7D45C #5CF7D4
tetradic
#D45CF7 #F7875C #7FF75C #5CCCF7
square
#D45CF7 #F7875C #7FF75C #5CCCF7
split-complementary
#D45CF7 #CCF75C #5CF787
monochromatic
#A20ACE #C522F4 #D45CF7 #E396FA #F3D1FD

Accessibility & contrast

On white

3.15
#D45CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#D45CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45CF7
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45CF7#FFFFFF#000000##000000
##D45CF71.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2989FC
Deuteranopia (green-blind)
#6295F3
Tritanopia (blue-blind)
#D377A2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d45cf7;
/* rgb */ color: rgb(212, 92, 247);
/* oklch */ color: oklch(68.7% 0.237 317.8);
Tailwind
colors: {
  custom: {
    50: '#e591fa',
    500: '#d45cf7',
    950: '#000000',
  },
}
SCSS
$custom: #d45cf7;
$custom-light: #e591fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d45cf7",
  "rgb": {
    "r": 212,
    "g": 92,
    "b": 247
  },
  "hsl": {
    "h": 286.452,
    "s": 90.643,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68683,
    "c": 0.23739,
    "h": 317.8
  },
  "luminance": 0.28367
}

Semantic roles & 50–950 ramp

primary
#D45CF7
secondary
#CAF1BE
accent
#E60034
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D45CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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