#D45CF8#D45CF8

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

Color values

HEX#D45CF8
RGBrgb(212, 92, 248)
HSLhsl(286, 92%, 67%)
HSVhsv(286, 63%, 97%)
CMYKcmyk(14.5%, 62.9%, 0%, 2.7%)
CIE-LABlab(60.28, 69.17, -57.40)
CIE-LCHlch(60.28, 89.89, 320.32°)
OKLaboklab(68.74% 0.176 -0.1607)
OKLCHoklch(68.74% 0.238 317.6)
XYZxyz(47.9194, 28.4306, 91.7522)
Luminance0.2843 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45CF8 #80F85C
analogous
#865CF8 #D45CF8 #F85CCE
triadic
#D45CF8 #F8D45C #5CF8D4
tetradic
#D45CF8 #F8865C #80F85C #5CCEF8
square
#D45CF8 #F8865C #80F85C #5CCEF8
split-complementary
#D45CF8 #CEF85C #5CF886
monochromatic
#A309D1 #C521F5 #D45CF8 #E397FB #F3D1FD

Accessibility & contrast

On white

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

On black

6.69
#D45CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45CF8
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45CF8#FFFFFF#000000##000000
##D45CF81.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#278AFD
Deuteranopia (green-blind)
#6195F4
Tritanopia (blue-blind)
#D378A2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d45cf8;
/* rgb */ color: rgb(212, 92, 248);
/* oklch */ color: oklch(68.7% 0.238 317.6);
Tailwind
colors: {
  custom: {
    50: '#e591fb',
    500: '#d45cf8',
    950: '#000000',
  },
}
SCSS
$custom: #d45cf8;
$custom-light: #e591fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d45cf8",
  "rgb": {
    "r": 212,
    "g": 92,
    "b": 248
  },
  "hsl": {
    "h": 286.154,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6874,
    "c": 0.2383,
    "h": 317.6
  },
  "luminance": 0.28429
}

Semantic roles & 50–950 ramp

primary
#D45CF8
secondary
#CAF1BF
accent
#E60035
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D45CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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