#D45BFA#D45BFA

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

Color values

HEX#D45BFA
RGBrgb(212, 91, 250)
HSLhsl(286, 94%, 67%)
HSVhsv(286, 64%, 98%)
CMYKcmyk(15.2%, 63.6%, 0%, 2%)
CIE-LABlab(60.23, 69.98, -58.57)
CIE-LCHlch(60.23, 91.26, 320.07°)
OKLaboklab(68.75% 0.177 -0.1641)
OKLCHoklch(68.75% 0.241 317.2)
XYZxyz(48.1453, 28.3833, 93.3664)
Luminance0.2838 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45BFA #81FA5B
analogous
#845BFA #D45BFA #FA5BD1
triadic
#D45BFA #FAD45B #5BFAD4
tetradic
#D45BFA #FA845B #81FA5B #5BD1FA
square
#D45BFA #FA845B #81FA5B #5BD1FA
split-complementary
#D45BFA #D1FA5B #5BFA84
monochromatic
#A306D4 #C420F8 #D45BFA #E496FC #F3D2FE

Accessibility & contrast

On white

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

On black

6.68
#D45BFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45BFA
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45BFA#FFFFFF#000000##000000
##D45BFA1.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#208AFF
Deuteranopia (green-blind)
#5F95F6
Tritanopia (blue-blind)
#D278A3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d45bfa;
/* rgb */ color: rgb(212, 91, 250);
/* oklch */ color: oklch(68.7% 0.241 317.2);
Tailwind
colors: {
  custom: {
    50: '#e591fd',
    500: '#d45bfa',
    950: '#000000',
  },
}
SCSS
$custom: #d45bfa;
$custom-light: #e591fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d45bfa",
  "rgb": {
    "r": 212,
    "g": 91,
    "b": 250
  },
  "hsl": {
    "h": 285.66,
    "s": 94.083,
    "l": 66.863
  },
  "oklch": {
    "l": 0.68746,
    "c": 0.24142,
    "h": 317.2
  },
  "luminance": 0.28381
}

Semantic roles & 50–950 ramp

primary
#D45BFA
secondary
#CBF2BF
accent
#E60037
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #D45BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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