#D762F8#D762F8

#D762F8 is a light, highly saturated purple. Relative luminance 0.300; OKLCH L 69.8% C 0.232 H 318.2°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#D762F8
RGBrgb(215, 98, 248)
HSLhsl(287, 91%, 68%)
HSVhsv(287, 60%, 97%)
CMYKcmyk(13.3%, 60.5%, 0%, 2.7%)
CIE-LABlab(61.62, 67.25, -55.23)
CIE-LCHlch(61.62, 87.02, 320.61°)
OKLaboklab(69.8% 0.1726 -0.1543)
OKLCHoklch(69.8% 0.232 318.2)
XYZxyz(49.3330, 29.9618, 91.9733)
Luminance0.2996 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D762F8 #83F862
analogous
#8C62F8 #D762F8 #F862CE
triadic
#D762F8 #F8D762 #62F8D7
tetradic
#D762F8 #F88C62 #83F862 #62CEF8
square
#D762F8 #F88C62 #83F862 #62CEF8
split-complementary
#D762F8 #CEF862 #62F88C
monochromatic
#A90AD6 #C827F5 #D762F8 #E69DFB #F5D7FD

Accessibility & contrast

On white

3.00
#D762F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#D762F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D762F8
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D762F8#FFFFFF#000000##000000
##D762F81.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#388DFD
Deuteranopia (green-blind)
#6999F4
Tritanopia (blue-blind)
#D77BA4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d762f8;
/* rgb */ color: rgb(215, 98, 248);
/* oklch */ color: oklch(69.8% 0.232 318.2);
Tailwind
colors: {
  custom: {
    50: '#e795fb',
    500: '#d762f8',
    950: '#000000',
  },
}
SCSS
$custom: #d762f8;
$custom-light: #e795fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d762f8",
  "rgb": {
    "r": 215,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 286.8,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69797,
    "c": 0.23151,
    "h": 318.2
  },
  "luminance": 0.2996
}

Semantic roles & 50–950 ramp

primary
#D762F8
secondary
#CEF2C4
accent
#E60032
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D762F8

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

Preview Lab → · Contrast checker → · Palette generator →

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