#D768F5#D768F5

#D768F5 is a light, highly saturated purple. Relative luminance 0.309; OKLCH L 70.4% C 0.220 H 318.6°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#D768F5
RGBrgb(215, 104, 245)
HSLhsl(287, 88%, 68%)
HSVhsv(287, 58%, 96%)
CMYKcmyk(12.2%, 57.6%, 0%, 3.9%)
CIE-LABlab(62.46, 63.97, -52.24)
CIE-LCHlch(62.46, 82.59, 320.76°)
OKLaboklab(70.36% 0.1653 -0.1457)
OKLCHoklch(70.36% 0.22 318.6)
XYZxyz(49.4539, 30.9423, 89.7360)
Luminance0.3094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D768F5 #86F568
analogous
#9068F5 #D768F5 #F568CC
triadic
#D768F5 #F5D768 #68F5D7
tetradic
#D768F5 #F59068 #86F568 #68CCF5
square
#D768F5 #F59068 #86F568 #68CCF5
split-complementary
#D768F5 #CCF568 #68F590
monochromatic
#AA0ED5 #C82FF1 #D768F5 #E6A1F9 #F5DBFD

Accessibility & contrast

On white

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

On black

7.19
#D768F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D768F5
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D768F5#FFFFFF#000000##000000
##D768F51.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4790F9
Deuteranopia (green-blind)
#709BF1
Tritanopia (blue-blind)
#D77EA5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d768f5;
/* rgb */ color: rgb(215, 104, 245);
/* oklch */ color: oklch(70.4% 0.220 318.6);
Tailwind
colors: {
  custom: {
    50: '#e698f9',
    500: '#d768f5',
    950: '#000000',
  },
}
SCSS
$custom: #d768f5;
$custom-light: #e698f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d768f5",
  "rgb": {
    "r": 215,
    "g": 104,
    "b": 245
  },
  "hsl": {
    "h": 287.234,
    "s": 87.578,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70355,
    "c": 0.22031,
    "h": 318.6
  },
  "luminance": 0.3094
}

Semantic roles & 50–950 ramp

primary
#D768F5
secondary
#D0F2C7
accent
#E40132
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D768F5

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

Preview Lab → · Contrast checker → · Palette generator →

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