#D45BF2#D45BF2

#D45BF2 is a light, highly saturated purple. Relative luminance 0.279; OKLCH L 68.3% C 0.234 H 319.1°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#D45BF2
RGBrgb(212, 91, 242)
HSLhsl(288, 85%, 65%)
HSVhsv(288, 62%, 95%)
CMYKcmyk(12.4%, 62.4%, 0%, 5.1%)
CIE-LABlab(59.79, 68.47, -54.84)
CIE-LCHlch(59.79, 87.73, 321.31°)
OKLaboklab(68.28% 0.1771 -0.1532)
OKLCHoklch(68.28% 0.234 319.1)
XYZxyz(46.9174, 27.8921, 86.8995)
Luminance0.2789 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45BF2 #79F25B
analogous
#885BF2 #D45BF2 #F25BC5
triadic
#D45BF2 #F2D45B #5BF2D4
tetradic
#D45BF2 #F2885B #79F25B #5BC5F2
square
#D45BF2 #F2885B #79F25B #5BC5F2
split-complementary
#D45BF2 #C5F25B #5BF288
monochromatic
#9F0FC3 #C522EE #D45BF2 #E394F6 #F2CCFB

Accessibility & contrast

On white

3.19
#D45BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#D45BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45BF2
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45BF2#FFFFFF#000000##000000
##D45BF21.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F88F7
Deuteranopia (green-blind)
#6594EE
Tritanopia (blue-blind)
#D4759F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d45bf2;
/* rgb */ color: rgb(212, 91, 242);
/* oklch */ color: oklch(68.3% 0.234 319.1);
Tailwind
colors: {
  custom: {
    50: '#e591f7',
    500: '#d45bf2',
    950: '#000000',
  },
}
SCSS
$custom: #d45bf2;
$custom-light: #e591f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d45bf2",
  "rgb": {
    "r": 212,
    "g": 91,
    "b": 242
  },
  "hsl": {
    "h": 288.079,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.68284,
    "c": 0.23419,
    "h": 319.1
  },
  "luminance": 0.2789
}

Semantic roles & 50–950 ramp

primary
#D45BF2
secondary
#C5EEBB
accent
#E20430
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D45BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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