#D45CFB#D45CFB

#D45CFB is a light, highly saturated purple. Relative luminance 0.286; OKLCH L 68.9% C 0.241 H 316.9°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#D45CFB
RGBrgb(212, 92, 251)
HSLhsl(285, 95%, 67%)
HSVhsv(285, 63%, 98%)
CMYKcmyk(15.5%, 63.3%, 0%, 1.6%)
CIE-LABlab(60.44, 69.75, -58.79)
CIE-LCHlch(60.44, 91.22, 319.87°)
OKLaboklab(68.92% 0.1759 -0.1648)
OKLCHoklch(68.92% 0.241 316.9)
XYZxyz(48.3885, 28.6183, 94.2231)
Luminance0.2862 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45CFB #83FB5C
analogous
#855CFB #D45CFB #FB5CD3
triadic
#D45CFB #FBD45C #5CFBD4
tetradic
#D45CFB #FB855C #83FB5C #5CD3FB
square
#D45CFB #FB855C #83FB5C #5CD3FB
split-complementary
#D45CFB #D3FB5C #5CFB85
monochromatic
#A405D7 #C420FA #D45CFB #E498FC #F4D3FE

Accessibility & contrast

On white

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

On black

6.72
#D45CFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45CFB
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45CFB#FFFFFF#000000##000000
##D45CFB1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#218AFF
Deuteranopia (green-blind)
#5F95F7
Tritanopia (blue-blind)
#D279A4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d45cfb;
/* rgb */ color: rgb(212, 92, 251);
/* oklch */ color: oklch(68.9% 0.241 316.9);
Tailwind
colors: {
  custom: {
    50: '#e591fd',
    500: '#d45cfb',
    950: '#000000',
  },
}
SCSS
$custom: #d45cfb;
$custom-light: #e591fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d45cfb",
  "rgb": {
    "r": 212,
    "g": 92,
    "b": 251
  },
  "hsl": {
    "h": 285.283,
    "s": 95.21,
    "l": 67.255
  },
  "oklch": {
    "l": 0.68915,
    "c": 0.24103,
    "h": 316.9
  },
  "luminance": 0.28616
}

Semantic roles & 50–950 ramp

primary
#D45CFB
secondary
#CDF2C0
accent
#E60038
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #D45CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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