#D768FE#D768FE

#D768FE is a light, highly saturated purple. Relative luminance 0.315; OKLCH L 70.9% C 0.229 H 316.4°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#D768FE
RGBrgb(215, 104, 254)
HSLhsl(284, 99%, 70%)
HSVhsv(284, 59%, 100%)
CMYKcmyk(15.4%, 59.1%, 0%, 0.4%)
CIE-LABlab(62.93, 65.71, -56.45)
CIE-LCHlch(62.93, 86.63, 319.33°)
OKLaboklab(70.85% 0.1656 -0.1579)
OKLCHoklch(70.85% 0.229 316.4)
XYZxyz(50.8613, 31.5053, 97.1487)
Luminance0.3150 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D768FE #8FFE68
analogous
#8C68FE #D768FE #FE68DA
triadic
#D768FE #FED768 #68FED7
tetradic
#D768FE #FE8C68 #8FFE68 #68DAFE
square
#D768FE #FE8C68 #8FFE68 #68DAFE
split-complementary
#D768FE #DAFE68 #68FE8C
monochromatic
#AE02EA #C72BFE #D768FE #E7A5FE #F7E1FF

Accessibility & contrast

On white

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

On black

7.30
#D768FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D768FE
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D768FE#FFFFFF#000000##000000
##D768FE1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D91FF
Deuteranopia (green-blind)
#6A9CFA
Tritanopia (blue-blind)
#D582AA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d768fe;
/* rgb */ color: rgb(215, 104, 254);
/* oklch */ color: oklch(70.9% 0.229 316.4);
Tailwind
colors: {
  custom: {
    50: '#e799ff',
    500: '#d768fe',
    950: '#000000',
  },
}
SCSS
$custom: #d768fe;
$custom-light: #e799ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d768fe",
  "rgb": {
    "r": 215,
    "g": 104,
    "b": 254
  },
  "hsl": {
    "h": 284.4,
    "s": 98.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70853,
    "c": 0.22883,
    "h": 316.4
  },
  "luminance": 0.31503
}

Semantic roles & 50–950 ramp

primary
#D768FE
secondary
#D7F6CC
accent
#E6003C
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D768FE

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

Preview Lab → · Contrast checker → · Palette generator →

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