#D768FD#D768FD

#D768FD is a light, highly saturated purple. Relative luminance 0.314; OKLCH L 70.8% C 0.228 H 316.6°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#D768FD
RGBrgb(215, 104, 253)
HSLhsl(285, 97%, 70%)
HSVhsv(285, 59%, 99%)
CMYKcmyk(15%, 58.9%, 0%, 0.8%)
CIE-LABlab(62.88, 65.51, -55.99)
CIE-LCHlch(62.88, 86.18, 319.48°)
OKLaboklab(70.8% 0.1656 -0.1566)
OKLCHoklch(70.8% 0.228 316.6)
XYZxyz(50.7016, 31.4414, 96.3075)
Luminance0.3144 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D768FD #8EFD68
analogous
#8C68FD #D768FD #FD68D9
triadic
#D768FD #FDD768 #68FDD7
tetradic
#D768FD #FD8C68 #8EFD68 #68D9FD
square
#D768FD #FD8C68 #8EFD68 #68D9FD
split-complementary
#D768FD #D9FD68 #68FD8C
monochromatic
#AD03E8 #C72CFC #D768FD #E7A4FE #F7E1FF

Accessibility & contrast

On white

2.88
#D768FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#D768FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D768FD
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D768FD#FFFFFF#000000##000000
##D768FD1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E91FF
Deuteranopia (green-blind)
#6A9BF9
Tritanopia (blue-blind)
#D581A9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d768fd;
/* rgb */ color: rgb(215, 104, 253);
/* oklch */ color: oklch(70.8% 0.228 316.6);
Tailwind
colors: {
  custom: {
    50: '#e799ff',
    500: '#d768fd',
    950: '#000000',
  },
}
SCSS
$custom: #d768fd;
$custom-light: #e799ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d768fd",
  "rgb": {
    "r": 215,
    "g": 104,
    "b": 253
  },
  "hsl": {
    "h": 284.698,
    "s": 97.386,
    "l": 70
  },
  "oklch": {
    "l": 0.70797,
    "c": 0.22789,
    "h": 316.6
  },
  "luminance": 0.3144
}

Semantic roles & 50–950 ramp

primary
#D768FD
secondary
#D6F5CC
accent
#E6003B
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D768FD

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

Preview Lab → · Contrast checker → · Palette generator →

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