#D45BF8#D45BF8

#D45BF8 is a light, highly saturated purple. Relative luminance 0.283; OKLCH L 68.6% C 0.240 H 317.6°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#D45BF8
RGBrgb(212, 91, 248)
HSLhsl(286, 92%, 66%)
HSVhsv(286, 63%, 97%)
CMYKcmyk(14.5%, 63.3%, 0%, 2.7%)
CIE-LABlab(60.12, 69.60, -57.64)
CIE-LCHlch(60.12, 90.37, 320.37°)
OKLaboklab(68.63% 0.1771 -0.1614)
OKLCHoklch(68.63% 0.24 317.6)
XYZxyz(47.8333, 28.2585, 91.7235)
Luminance0.2826 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45BF8 #7FF85B
analogous
#865BF8 #D45BF8 #F85BCE
triadic
#D45BF8 #F8D45B #5BF8D4
tetradic
#D45BF8 #F8865B #7FF85B #5BCEF8
square
#D45BF8 #F8865B #7FF85B #5BCEF8
split-complementary
#D45BF8 #CEF85B #5BF886
monochromatic
#A209D0 #C520F5 #D45BF8 #E396FB #F3D0FD

Accessibility & contrast

On white

3.16
#D45BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#D45BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45BF8
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45BF8#FFFFFF#000000##000000
##D45BF81.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2589FD
Deuteranopia (green-blind)
#6095F4
Tritanopia (blue-blind)
#D377A2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d45bf8;
/* rgb */ color: rgb(212, 91, 248);
/* oklch */ color: oklch(68.6% 0.240 317.6);
Tailwind
colors: {
  custom: {
    50: '#e591fb',
    500: '#d45bf8',
    950: '#000000',
  },
}
SCSS
$custom: #d45bf8;
$custom-light: #e591fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d45bf8",
  "rgb": {
    "r": 212,
    "g": 91,
    "b": 248
  },
  "hsl": {
    "h": 286.242,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68629,
    "c": 0.2396,
    "h": 317.6
  },
  "luminance": 0.28257
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D45BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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