#D768FA#D768FA

#D768FA is a light, highly saturated purple. Relative luminance 0.313; OKLCH L 70.6% C 0.225 H 317.3°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#D768FA
RGBrgb(215, 104, 250)
HSLhsl(286, 94%, 69%)
HSVhsv(286, 58%, 98%)
CMYKcmyk(14%, 58.4%, 0%, 2%)
CIE-LABlab(62.72, 64.93, -54.59)
CIE-LCHlch(62.72, 84.83, 319.95°)
OKLaboklab(70.63% 0.1655 -0.1525)
OKLCHoklch(70.63% 0.225 317.3)
XYZxyz(50.2275, 31.2517, 93.8104)
Luminance0.3125 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D768FA #8BFA68
analogous
#8E68FA #D768FA #FA68D4
triadic
#D768FA #FAD768 #68FAD7
tetradic
#D768FA #FA8E68 #8BFA68 #68D4FA
square
#D768FA #FA8E68 #8BFA68 #68D4FA
split-complementary
#D768FA #D4FA68 #68FA8E
monochromatic
#AC07E0 #C72DF8 #D768FA #E7A3FC #F6DEFE

Accessibility & contrast

On white

2.90
#D768FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#D768FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D768FA
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D768FA#FFFFFF#000000##000000
##D768FA1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4191FF
Deuteranopia (green-blind)
#6C9BF6
Tritanopia (blue-blind)
#D680A8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d768fa;
/* rgb */ color: rgb(215, 104, 250);
/* oklch */ color: oklch(70.6% 0.225 317.3);
Tailwind
colors: {
  custom: {
    50: '#e698fc',
    500: '#d768fa',
    950: '#000000',
  },
}
SCSS
$custom: #d768fa;
$custom-light: #e698fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d768fa",
  "rgb": {
    "r": 215,
    "g": 104,
    "b": 250
  },
  "hsl": {
    "h": 285.616,
    "s": 93.59,
    "l": 69.412
  },
  "oklch": {
    "l": 0.7063,
    "c": 0.22503,
    "h": 317.3
  },
  "luminance": 0.3125
}

Semantic roles & 50–950 ramp

primary
#D768FA
secondary
#D4F4CA
accent
#E60037
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D768FA

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

Preview Lab → · Contrast checker → · Palette generator →

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