#D768CC#D768CC

#D768CC is a light, vivid purple. Relative luminance 0.287; OKLCH L 68.3% C 0.183 H 331.2°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#D768CC
RGBrgb(215, 104, 204)
HSLhsl(306, 58%, 63%)
HSVhsv(306, 52%, 84%)
CMYKcmyk(0%, 51.6%, 5.1%, 15.7%)
CIE-LABlab(60.52, 56.57, -32.34)
CIE-LCHlch(60.52, 65.16, 330.24°)
OKLaboklab(68.31% 0.1608 -0.0883)
OKLCHoklch(68.31% 0.183 331.2)
XYZxyz(43.8735, 28.7101, 60.3458)
Luminance0.2871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D768CC #68D773
analogous
#AB68D7 #D768CC #D76894
triadic
#D768CC #CCD768 #68CCD7
tetradic
#D768CC #D7AB68 #68D773 #6894D7
square
#D768CC #D7AB68 #68D773 #6894D7
split-complementary
#D768CC #94D768 #68D7AB
monochromatic
#9B2990 #CA38BC #D768CC #E498DC #F1C9ED

Accessibility & contrast

On white

3.12
#D768CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#D768CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D768CC
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D768CC#FFFFFF#000000##000000
##D768CC1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6388CF
Deuteranopia (green-blind)
#8498C9
Tritanopia (blue-blind)
#DF7191
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d768cc;
/* rgb */ color: rgb(215, 104, 204);
/* oklch */ color: oklch(68.3% 0.183 331.2);
Tailwind
colors: {
  custom: {
    50: '#e697dc',
    500: '#d768cc',
    950: '#000000',
  },
}
SCSS
$custom: #d768cc;
$custom-light: #e697dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d768cc",
  "rgb": {
    "r": 215,
    "g": 104,
    "b": 204
  },
  "hsl": {
    "h": 305.946,
    "s": 58.115,
    "l": 62.549
  },
  "oklch": {
    "l": 0.68306,
    "c": 0.18346,
    "h": 331.2
  },
  "luminance": 0.28707
}

Semantic roles & 50–950 ramp

primary
#D768CC
secondary
#B9E2BD
accent
#C63020
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D768CC

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

Preview Lab → · Contrast checker → · Palette generator →

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