#D768FB#D768FB

#D768FB is a light, highly saturated purple. Relative luminance 0.313; OKLCH L 70.7% C 0.226 H 317.1°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#D768FB
RGBrgb(215, 104, 251)
HSLhsl(285, 95%, 70%)
HSVhsv(285, 59%, 98%)
CMYKcmyk(14.3%, 58.6%, 0%, 1.6%)
CIE-LABlab(62.77, 65.12, -55.05)
CIE-LCHlch(62.77, 85.28, 319.79°)
OKLaboklab(70.69% 0.1655 -0.1538)
OKLCHoklch(70.69% 0.226 317.1)
XYZxyz(50.3847, 31.3146, 94.6383)
Luminance0.3131 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D768FB #8CFB68
analogous
#8E68FB #D768FB #FB68D6
triadic
#D768FB #FBD768 #68FBD7
tetradic
#D768FB #FB8E68 #8CFB68 #68D6FB
square
#D768FB #FB8E68 #8CFB68 #68D6FB
split-complementary
#D768FB #D6FB68 #68FB8E
monochromatic
#AD06E3 #C72CF9 #D768FB #E7A4FD #F7DFFE

Accessibility & contrast

On white

2.89
#D768FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#D768FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D768FB
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D768FB#FFFFFF#000000##000000
##D768FB1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4091FF
Deuteranopia (green-blind)
#6C9BF7
Tritanopia (blue-blind)
#D681A8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d768fb;
/* rgb */ color: rgb(215, 104, 251);
/* oklch */ color: oklch(70.7% 0.226 317.1);
Tailwind
colors: {
  custom: {
    50: '#e698fd',
    500: '#d768fb',
    950: '#000000',
  },
}
SCSS
$custom: #d768fb;
$custom-light: #e698fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d768fb",
  "rgb": {
    "r": 215,
    "g": 104,
    "b": 251
  },
  "hsl": {
    "h": 285.306,
    "s": 94.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70685,
    "c": 0.22598,
    "h": 317.1
  },
  "luminance": 0.31313
}

Semantic roles & 50–950 ramp

primary
#D768FB
secondary
#D5F4CA
accent
#E60038
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D768FB

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

Preview Lab → · Contrast checker → · Palette generator →

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