#D762FC#D762FC

#D762FC is a light, highly saturated purple. Relative luminance 0.302; OKLCH L 70.0% C 0.235 H 317.2°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#D762FC
RGBrgb(215, 98, 252)
HSLhsl(286, 96%, 69%)
HSVhsv(286, 61%, 99%)
CMYKcmyk(14.7%, 61.1%, 0%, 1.2%)
CIE-LABlab(61.84, 68.01, -57.09)
CIE-LCHlch(61.84, 88.80, 319.99°)
OKLaboklab(70.02% 0.1726 -0.1598)
OKLCHoklch(70.02% 0.235 317.2)
XYZxyz(49.9602, 30.2126, 95.2765)
Luminance0.3021 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D762FC #87FC62
analogous
#8A62FC #D762FC #FC62D4
triadic
#D762FC #FCD762 #62FCD7
tetradic
#D762FC #FC8A62 #87FC62 #62D4FC
square
#D762FC #FC8A62 #87FC62 #62D4FC
split-complementary
#D762FC #D4FC62 #62FC8A
monochromatic
#AB04DF #C826FB #D762FC #E69EFD #F6DAFE

Accessibility & contrast

On white

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

On black

7.04
#D762FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D762FC
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D762FC#FFFFFF#000000##000000
##D762FC1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#338EFF
Deuteranopia (green-blind)
#6699F8
Tritanopia (blue-blind)
#D67DA6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d762fc;
/* rgb */ color: rgb(215, 98, 252);
/* oklch */ color: oklch(70.0% 0.235 317.2);
Tailwind
colors: {
  custom: {
    50: '#e795fe',
    500: '#d762fc',
    950: '#000000',
  },
}
SCSS
$custom: #d762fc;
$custom-light: #e795fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d762fc",
  "rgb": {
    "r": 215,
    "g": 98,
    "b": 252
  },
  "hsl": {
    "h": 285.584,
    "s": 96.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70023,
    "c": 0.2352,
    "h": 317.2
  },
  "luminance": 0.30211
}

Semantic roles & 50–950 ramp

primary
#D762FC
secondary
#D1F4C6
accent
#E60037
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D762FC

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

Preview Lab → · Contrast checker → · Palette generator →

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