#D45CF6#D45CF6

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

Color values

HEX#D45CF6
RGBrgb(212, 92, 246)
HSLhsl(287, 90%, 66%)
HSVhsv(287, 63%, 96%)
CMYKcmyk(13.8%, 62.6%, 0%, 3.5%)
CIE-LABlab(60.17, 68.79, -56.47)
CIE-LCHlch(60.17, 89.00, 320.62°)
OKLaboklab(68.63% 0.176 -0.158)
OKLCHoklch(68.63% 0.236 318.1)
XYZxyz(47.6108, 28.3071, 90.1268)
Luminance0.2831 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45CF6 #7EF65C
analogous
#875CF6 #D45CF6 #F65CCB
triadic
#D45CF6 #F6D45C #5CF6D4
tetradic
#D45CF6 #F6875C #7EF65C #5CCBF6
square
#D45CF6 #F6875C #7EF65C #5CCBF6
split-complementary
#D45CF6 #CBF65C #5CF687
monochromatic
#A20BCC #C522F3 #D45CF6 #E396F9 #F3D0FC

Accessibility & contrast

On white

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

On black

6.66
#D45CF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45CF6
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45CF6#FFFFFF#000000##000000
##D45CF61.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B89FB
Deuteranopia (green-blind)
#6395F2
Tritanopia (blue-blind)
#D377A1
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d45cf6;
/* rgb */ color: rgb(212, 92, 246);
/* oklch */ color: oklch(68.6% 0.236 318.1);
Tailwind
colors: {
  custom: {
    50: '#e591fa',
    500: '#d45cf6',
    950: '#000000',
  },
}
SCSS
$custom: #d45cf6;
$custom-light: #e591fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d45cf6",
  "rgb": {
    "r": 212,
    "g": 92,
    "b": 246
  },
  "hsl": {
    "h": 286.753,
    "s": 89.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68625,
    "c": 0.23649,
    "h": 318.1
  },
  "luminance": 0.28305
}

Semantic roles & 50–950 ramp

primary
#D45CF6
secondary
#C9F0BE
accent
#E60033
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D45CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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