#D762F6#D762F6

#D762F6 is a light, highly saturated purple. Relative luminance 0.298; OKLCH L 69.7% C 0.230 H 318.7°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#D762F6
RGBrgb(215, 98, 246)
HSLhsl(287, 89%, 67%)
HSVhsv(287, 60%, 96%)
CMYKcmyk(12.6%, 60.2%, 0%, 3.5%)
CIE-LABlab(61.51, 66.87, -54.29)
CIE-LCHlch(61.51, 86.14, 320.93°)
OKLaboklab(69.69% 0.1725 -0.1516)
OKLCHoklch(69.69% 0.23 318.7)
XYZxyz(49.0243, 29.8383, 90.3479)
Luminance0.2984 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D762F6 #81F662
analogous
#8D62F6 #D762F6 #F662CB
triadic
#D762F6 #F6D762 #62F6D7
tetradic
#D762F6 #F68D62 #81F662 #62CBF6
square
#D762F6 #F68D62 #81F662 #62CBF6
split-complementary
#D762F6 #CBF662 #62F68D
monochromatic
#A80CD2 #C828F3 #D762F6 #E69CF9 #F4D6FD

Accessibility & contrast

On white

3.01
#D762F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#D762F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D762F6
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D762F6#FFFFFF#000000##000000
##D762F61.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8DFB
Deuteranopia (green-blind)
#6A98F2
Tritanopia (blue-blind)
#D77BA3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d762f6;
/* rgb */ color: rgb(215, 98, 246);
/* oklch */ color: oklch(69.7% 0.230 318.7);
Tailwind
colors: {
  custom: {
    50: '#e795fa',
    500: '#d762f6',
    950: '#000000',
  },
}
SCSS
$custom: #d762f6;
$custom-light: #e795fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d762f6",
  "rgb": {
    "r": 215,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 287.432,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69685,
    "c": 0.22966,
    "h": 318.7
  },
  "luminance": 0.29836
}

Semantic roles & 50–950 ramp

primary
#D762F6
secondary
#CCF1C3
accent
#E60030
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D762F6

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

Preview Lab → · Contrast checker → · Palette generator →

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