#D754F7#D754F7

#D754F7 is a light, highly saturated purple. Relative luminance 0.275; OKLCH L 68.2% C 0.249 H 319.1°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#D754F7
RGBrgb(215, 84, 247)
HSLhsl(288, 91%, 65%)
HSVhsv(288, 66%, 97%)
CMYKcmyk(13%, 66%, 0%, 3.1%)
CIE-LABlab(59.44, 72.95, -58.16)
CIE-LCHlch(59.44, 93.29, 321.44°)
OKLaboklab(68.2% 0.1881 -0.1628)
OKLCHoklch(68.2% 0.249 319.1)
XYZxyz(47.9810, 27.5053, 90.7593)
Luminance0.2750 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D754F7 #74F754
analogous
#8654F7 #D754F7 #F754C5
triadic
#D754F7 #F7D754 #54F7D7
tetradic
#D754F7 #F78654 #74F754 #54C5F7
square
#D754F7 #F78654 #74F754 #54C5F7
split-complementary
#D754F7 #C5F754 #54F786
monochromatic
#A209C7 #C91AF4 #D754F7 #E58EFA #F2C9FC

Accessibility & contrast

On white

3.23
#D754F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#D754F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D754F7
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D754F7#FFFFFF#000000##000000
##D754F71.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1286FC
Deuteranopia (green-blind)
#5F94F3
Tritanopia (blue-blind)
#D7719F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d754f7;
/* rgb */ color: rgb(215, 84, 247);
/* oklch */ color: oklch(68.2% 0.249 319.1);
Tailwind
colors: {
  custom: {
    50: '#e78dfa',
    500: '#d754f7',
    950: '#000000',
  },
}
SCSS
$custom: #d754f7;
$custom-light: #e78dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#d754f7",
  "rgb": {
    "r": 215,
    "g": 84,
    "b": 247
  },
  "hsl": {
    "h": 288.221,
    "s": 91.061,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68203,
    "c": 0.24878,
    "h": 319.1
  },
  "luminance": 0.27503
}

Semantic roles & 50–950 ramp

primary
#D754F7
secondary
#C3EFB8
accent
#E6002D
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D754F7

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

Preview Lab → · Contrast checker → · Palette generator →

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