#D751F5#D751F5

#D751F5 is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.8% C 0.251 H 319.7°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#D751F5
RGBrgb(215, 81, 245)
HSLhsl(289, 89%, 64%)
HSVhsv(289, 67%, 96%)
CMYKcmyk(12.2%, 66.9%, 0%, 3.9%)
CIE-LABlab(58.91, 73.76, -57.90)
CIE-LCHlch(58.91, 93.77, 321.87°)
OKLaboklab(67.78% 0.1913 -0.162)
OKLCHoklch(67.78% 0.251 319.7)
XYZxyz(47.4461, 26.9268, 89.0667)
Luminance0.2692 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D751F5 #6FF551
analogous
#8551F5 #D751F5 #F551C1
triadic
#D751F5 #F5D751 #51F5D7
tetradic
#D751F5 #F58551 #6FF551 #51C1F5
square
#D751F5 #F58551 #6FF551 #51C1F5
split-complementary
#D751F5 #C1F551 #51F585
monochromatic
#9F0BC1 #CA17F2 #D751F5 #E48BF8 #F2C5FC

Accessibility & contrast

On white

3.29
#D751F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#D751F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D751F5
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D751F5#FFFFFF#000000##000000
##D751F51.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A85FA
Deuteranopia (green-blind)
#5E92F1
Tritanopia (blue-blind)
#D86F9D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d751f5;
/* rgb */ color: rgb(215, 81, 245);
/* oklch */ color: oklch(67.8% 0.251 319.7);
Tailwind
colors: {
  custom: {
    50: '#e78cf9',
    500: '#d751f5',
    950: '#000000',
  },
}
SCSS
$custom: #d751f5;
$custom-light: #e78cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#d751f5",
  "rgb": {
    "r": 215,
    "g": 81,
    "b": 245
  },
  "hsl": {
    "h": 289.024,
    "s": 89.13,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67784,
    "c": 0.25068,
    "h": 319.7
  },
  "luminance": 0.26925
}

Semantic roles & 50–950 ramp

primary
#D751F5
secondary
#BFEEB4
accent
#E6002A
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D751F5

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

Preview Lab → · Contrast checker → · Palette generator →

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