#D768F6#D768F6

#D768F6 is a light, highly saturated purple. Relative luminance 0.310; OKLCH L 70.4% C 0.221 H 318.4°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#D768F6
RGBrgb(215, 104, 246)
HSLhsl(287, 89%, 69%)
HSVhsv(287, 58%, 96%)
CMYKcmyk(12.6%, 57.7%, 0%, 3.5%)
CIE-LABlab(62.51, 64.16, -52.71)
CIE-LCHlch(62.51, 83.03, 320.60°)
OKLaboklab(70.41% 0.1653 -0.147)
OKLCHoklch(70.41% 0.221 318.4)
XYZxyz(49.6069, 31.0035, 90.5421)
Luminance0.3100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D768F6 #87F668
analogous
#9068F6 #D768F6 #F668CE
triadic
#D768F6 #F6D768 #68F6D7
tetradic
#D768F6 #F69068 #87F668 #68CEF6
square
#D768F6 #F69068 #87F668 #68CEF6
split-complementary
#D768F6 #CEF668 #68F690
monochromatic
#AB0DD7 #C82EF3 #D768F6 #E6A2F9 #F6DCFD

Accessibility & contrast

On white

2.92
#D768F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#D768F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D768F6
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D768F6#FFFFFF#000000##000000
##D768F61.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4690FA
Deuteranopia (green-blind)
#6F9BF2
Tritanopia (blue-blind)
#D77FA6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d768f6;
/* rgb */ color: rgb(215, 104, 246);
/* oklch */ color: oklch(70.4% 0.221 318.4);
Tailwind
colors: {
  custom: {
    50: '#e698fa',
    500: '#d768f6',
    950: '#000000',
  },
}
SCSS
$custom: #d768f6;
$custom-light: #e698fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d768f6",
  "rgb": {
    "r": 215,
    "g": 104,
    "b": 246
  },
  "hsl": {
    "h": 286.901,
    "s": 88.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.7041,
    "c": 0.22125,
    "h": 318.4
  },
  "luminance": 0.31002
}

Semantic roles & 50–950 ramp

primary
#D768F6
secondary
#D1F2C8
accent
#E50032
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D768F6

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

Preview Lab → · Contrast checker → · Palette generator →

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