#D768C7#D768C7

#D768C7 is a light, vivid purple. Relative luminance 0.285; OKLCH L 68.1% C 0.179 H 333.1°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#D768C7
RGBrgb(215, 104, 199)
HSLhsl(309, 58%, 63%)
HSVhsv(309, 52%, 84%)
CMYKcmyk(0%, 51.6%, 7.4%, 15.7%)
CIE-LABlab(60.31, 55.74, -29.84)
CIE-LCHlch(60.31, 63.22, 331.84°)
OKLaboklab(68.08% 0.1599 -0.0811)
OKLCHoklch(68.08% 0.179 333.1)
XYZxyz(43.2834, 28.4741, 57.2380)
Luminance0.2847 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D768C7 #68D778
analogous
#B068D7 #D768C7 #D7688F
triadic
#D768C7 #C7D768 #68C7D7
tetradic
#D768C7 #D7B068 #68D778 #688FD7
square
#D768C7 #D7B068 #68D778 #688FD7
split-complementary
#D768C7 #8FD768 #68D7B0
monochromatic
#9B298B #CA38B5 #D768C7 #E498D9 #F1C9EB

Accessibility & contrast

On white

3.14
#D768C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#D768C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D768C7
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D768C7#FFFFFF#000000##000000
##D768C71.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6687CA
Deuteranopia (green-blind)
#8697C4
Tritanopia (blue-blind)
#DF6F8E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d768c7;
/* rgb */ color: rgb(215, 104, 199);
/* oklch */ color: oklch(68.1% 0.179 333.1);
Tailwind
colors: {
  custom: {
    50: '#e697d8',
    500: '#d768c7',
    950: '#000000',
  },
}
SCSS
$custom: #d768c7;
$custom-light: #e697d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d768c7",
  "rgb": {
    "r": 215,
    "g": 104,
    "b": 199
  },
  "hsl": {
    "h": 308.649,
    "s": 58.115,
    "l": 62.549
  },
  "oklch": {
    "l": 0.68081,
    "c": 0.17933,
    "h": 333.1
  },
  "luminance": 0.28471
}

Semantic roles & 50–950 ramp

primary
#D768C7
secondary
#B9E2BF
accent
#C63820
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160E14
muted
#847E83

Preview Lab

Preview with #D768C7

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

Preview Lab → · Contrast checker → · Palette generator →

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