#D762FD#D762FD

#D762FD is a light, highly saturated purple. Relative luminance 0.303; OKLCH L 70.1% C 0.236 H 317.0°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#D762FD
RGBrgb(215, 98, 253)
HSLhsl(285, 97%, 69%)
HSVhsv(285, 61%, 99%)
CMYKcmyk(15%, 61.3%, 0%, 0.8%)
CIE-LABlab(61.89, 68.21, -57.56)
CIE-LCHlch(61.89, 89.25, 319.84°)
OKLaboklab(70.08% 0.1726 -0.1611)
OKLCHoklch(70.08% 0.236 317)
XYZxyz(50.1190, 30.2762, 96.1133)
Luminance0.3027 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D762FD #88FD62
analogous
#8A62FD #D762FD #FD62D6
triadic
#D762FD #FDD762 #62FDD7
tetradic
#D762FD #FD8A62 #88FD62 #62D6FD
square
#D762FD #FD8A62 #88FD62 #62D6FD
split-complementary
#D762FD #D6FD62 #62FD8A
monochromatic
#AB03E2 #C826FC #D762FD #E69EFE #F6DBFF

Accessibility & contrast

On white

2.98
#D762FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#D762FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D762FD
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D762FD#FFFFFF#000000##000000
##D762FD1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#318EFF
Deuteranopia (green-blind)
#6599F9
Tritanopia (blue-blind)
#D57DA7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d762fd;
/* rgb */ color: rgb(215, 98, 253);
/* oklch */ color: oklch(70.1% 0.236 317.0);
Tailwind
colors: {
  custom: {
    50: '#e795ff',
    500: '#d762fd',
    950: '#000000',
  },
}
SCSS
$custom: #d762fd;
$custom-light: #e795ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d762fd",
  "rgb": {
    "r": 215,
    "g": 98,
    "b": 253
  },
  "hsl": {
    "h": 285.29,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.7008,
    "c": 0.23613,
    "h": 317
  },
  "luminance": 0.30274
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D762FD

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

Preview Lab → · Contrast checker → · Palette generator →

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