#D762EC#D762EC

#D762EC is a light, highly saturated purple. Relative luminance 0.292; OKLCH L 69.1% C 0.221 H 321.3°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#D762EC
RGBrgb(215, 98, 236)
HSLhsl(291, 78%, 65%)
HSVhsv(291, 58%, 93%)
CMYKcmyk(8.9%, 58.5%, 0%, 7.5%)
CIE-LABlab(60.99, 65.00, -49.57)
CIE-LCHlch(60.99, 81.75, 322.67°)
OKLaboklab(69.14% 0.1721 -0.1378)
OKLCHoklch(69.14% 0.221 321.3)
XYZxyz(47.5306, 29.2408, 82.4810)
Luminance0.2924 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D762EC #77EC62
analogous
#9262EC #D762EC #EC62BC
triadic
#D762EC #ECD762 #62ECD7
tetradic
#D762EC #EC9262 #77EC62 #62BCEC
square
#D762EC #EC9262 #77EC62 #62BCEC
split-complementary
#D762EC #BCEC62 #62EC92
monochromatic
#A417BD #C92BE5 #D762EC #E599F3 #F3CFF9

Accessibility & contrast

On white

3.07
#D762EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#D762EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D762EC
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D762EC#FFFFFF#000000##000000
##D762EC1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#458BF0
Deuteranopia (green-blind)
#7098E8
Tritanopia (blue-blind)
#D9779E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d762ec;
/* rgb */ color: rgb(215, 98, 236);
/* oklch */ color: oklch(69.1% 0.221 321.3);
Tailwind
colors: {
  custom: {
    50: '#e695f3',
    500: '#d762ec',
    950: '#000000',
  },
}
SCSS
$custom: #d762ec;
$custom-light: #e695f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d762ec",
  "rgb": {
    "r": 215,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 290.87,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.69137,
    "c": 0.22053,
    "h": 321.3
  },
  "luminance": 0.29239
}

Semantic roles & 50–950 ramp

primary
#D762EC
secondary
#C5ECBE
accent
#DB0B2A
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D762EC

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

Preview Lab → · Contrast checker → · Palette generator →

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