#D662F7#D662F7

#D662F7 is a light, highly saturated purple. Relative luminance 0.297; OKLCH L 69.6% C 0.230 H 318.1°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#D662F7
RGBrgb(214, 98, 247)
HSLhsl(287, 90%, 68%)
HSVhsv(287, 60%, 97%)
CMYKcmyk(13.4%, 60.3%, 0%, 3.1%)
CIE-LABlab(61.44, 66.83, -54.98)
CIE-LCHlch(61.44, 86.53, 320.56°)
OKLaboklab(69.62% 0.1714 -0.1536)
OKLCHoklch(69.62% 0.23 318.1)
XYZxyz(48.8854, 29.7489, 91.1447)
Luminance0.2975 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D662F7 #83F762
analogous
#8B62F7 #D662F7 #F762CE
triadic
#D662F7 #F7D662 #62F7D6
tetradic
#D662F7 #F78B62 #83F762 #62CEF7
square
#D662F7 #F78B62 #83F762 #62CEF7
split-complementary
#D662F7 #CEF762 #62F78B
monochromatic
#A70BD4 #C728F4 #D662F7 #E59CFA #F4D6FD

Accessibility & contrast

On white

3.02
#D662F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#D662F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D662F7
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D662F7#FFFFFF#000000##000000
##D662F71.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#398DFC
Deuteranopia (green-blind)
#6998F3
Tritanopia (blue-blind)
#D57BA4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d662f7;
/* rgb */ color: rgb(214, 98, 247);
/* oklch */ color: oklch(69.6% 0.230 318.1);
Tailwind
colors: {
  custom: {
    50: '#e695fa',
    500: '#d662f7',
    950: '#000000',
  },
}
SCSS
$custom: #d662f7;
$custom-light: #e695fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d662f7",
  "rgb": {
    "r": 214,
    "g": 98,
    "b": 247
  },
  "hsl": {
    "h": 286.711,
    "s": 90.303,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69619,
    "c": 0.23015,
    "h": 318.1
  },
  "luminance": 0.29747
}

Semantic roles & 50–950 ramp

primary
#D662F7
secondary
#CEF2C3
accent
#E60033
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D662F7

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

Preview Lab → · Contrast checker → · Palette generator →

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