#D768F7#D768F7

#D768F7 is a light, highly saturated purple. Relative luminance 0.311; OKLCH L 70.5% C 0.222 H 318.1°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#D768F7
RGBrgb(215, 104, 247)
HSLhsl(287, 90%, 69%)
HSVhsv(287, 58%, 97%)
CMYKcmyk(13%, 57.9%, 0%, 3.1%)
CIE-LABlab(62.56, 64.35, -53.18)
CIE-LCHlch(62.56, 83.48, 320.43°)
OKLaboklab(70.47% 0.1654 -0.1484)
OKLCHoklch(70.47% 0.222 318.1)
XYZxyz(49.7608, 31.0651, 91.3526)
Luminance0.3106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D768F7 #88F768
analogous
#9068F7 #D768F7 #F768D0
triadic
#D768F7 #F7D768 #68F7D7
tetradic
#D768F7 #F79068 #88F768 #68D0F7
square
#D768F7 #F79068 #88F768 #68D0F7
split-complementary
#D768F7 #D0F768 #68F790
monochromatic
#AB0CD9 #C82EF4 #D768F7 #E6A2FA #F6DCFD

Accessibility & contrast

On white

2.91
#D768F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#D768F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D768F7
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D768F7#FFFFFF#000000##000000
##D768F71.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4490FC
Deuteranopia (green-blind)
#6E9BF3
Tritanopia (blue-blind)
#D77FA6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d768f7;
/* rgb */ color: rgb(215, 104, 247);
/* oklch */ color: oklch(70.5% 0.222 318.1);
Tailwind
colors: {
  custom: {
    50: '#e698fa',
    500: '#d768f7',
    950: '#000000',
  },
}
SCSS
$custom: #d768f7;
$custom-light: #e698fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d768f7",
  "rgb": {
    "r": 215,
    "g": 104,
    "b": 247
  },
  "hsl": {
    "h": 286.573,
    "s": 89.937,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70465,
    "c": 0.22219,
    "h": 318.1
  },
  "luminance": 0.31063
}

Semantic roles & 50–950 ramp

primary
#D768F7
secondary
#D2F3C8
accent
#E60033
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D768F7

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

Preview Lab → · Contrast checker → · Palette generator →

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