#D45BFE#D45BFE

#D45BFE is a light, highly saturated purple. Relative luminance 0.286; OKLCH L 69.0% C 0.245 H 316.2°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#D45BFE
RGBrgb(212, 91, 254)
HSLhsl(285, 99%, 68%)
HSVhsv(285, 64%, 100%)
CMYKcmyk(16.5%, 64.2%, 0%, 0.4%)
CIE-LABlab(60.46, 70.75, -60.42)
CIE-LCHlch(60.46, 93.04, 319.50°)
OKLaboklab(68.98% 0.1769 -0.1695)
OKLCHoklch(68.98% 0.245 316.2)
XYZxyz(48.7791, 28.6368, 96.7047)
Luminance0.2863 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45BFE #85FE5B
analogous
#835BFE #D45BFE #FE5BD6
triadic
#D45BFE #FED45B #5BFED4
tetradic
#D45BFE #FE835B #85FE5B #5BD6FE
square
#D45BFE #FE835B #85FE5B #5BD6FE
split-complementary
#D45BFE #D6FE5B #5BFE83
monochromatic
#A501DD #C41EFE #D45BFE #E498FE #F4D5FF

Accessibility & contrast

On white

3.12
#D45BFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#D45BFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45BFE
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45BFE#FFFFFF#000000##000000
##D45BFE1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#158AFF
Deuteranopia (green-blind)
#5C95FA
Tritanopia (blue-blind)
#D279A5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d45bfe;
/* rgb */ color: rgb(212, 91, 254);
/* oklch */ color: oklch(69.0% 0.245 316.2);
Tailwind
colors: {
  custom: {
    50: '#e591ff',
    500: '#d45bfe',
    950: '#000000',
  },
}
SCSS
$custom: #d45bfe;
$custom-light: #e591ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d45bfe",
  "rgb": {
    "r": 212,
    "g": 91,
    "b": 254
  },
  "hsl": {
    "h": 284.54,
    "s": 98.788,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68982,
    "c": 0.24505,
    "h": 316.2
  },
  "luminance": 0.28635
}

Semantic roles & 50–950 ramp

primary
#D45BFE
secondary
#CEF4C1
accent
#E6003B
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #D45BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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