#D662FF#D662FF

#D662FF is a light, highly saturated purple. Relative luminance 0.303; OKLCH L 70.1% C 0.238 H 316.2°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#D662FF
RGBrgb(214, 98, 255)
HSLhsl(284, 100%, 69%)
HSVhsv(284, 62%, 100%)
CMYKcmyk(16.1%, 61.6%, 0%, 0%)
CIE-LABlab(61.87, 68.37, -58.70)
CIE-LCHlch(61.87, 90.11, 319.35°)
OKLaboklab(70.07% 0.1714 -0.1645)
OKLCHoklch(70.07% 0.238 316.2)
XYZxyz(50.1465, 30.2533, 97.7863)
Luminance0.3025 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D662FF #8BFF62
analogous
#8862FF #D662FF #FF62DA
triadic
#D662FF #FFD662 #62FFD6
tetradic
#D662FF #FF8862 #8BFF62 #62DAFF
square
#D662FF #FF8862 #8BFF62 #62DAFF
split-complementary
#D662FF #DAFF62 #62FF88
monochromatic
#AA00E7 #C625FF #D662FF #E69FFF #F6DCFF

Accessibility & contrast

On white

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

On black

7.05
#D662FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D662FF
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D662FF#FFFFFF#000000##000000
##D662FF1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D8EFF
Deuteranopia (green-blind)
#6399FB
Tritanopia (blue-blind)
#D47EA8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d662ff;
/* rgb */ color: rgb(214, 98, 255);
/* oklch */ color: oklch(70.1% 0.238 316.2);
Tailwind
colors: {
  custom: {
    50: '#e695ff',
    500: '#d662ff',
    950: '#000000',
  },
}
SCSS
$custom: #d662ff;
$custom-light: #e695ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d662ff",
  "rgb": {
    "r": 214,
    "g": 98,
    "b": 255
  },
  "hsl": {
    "h": 284.331,
    "s": 100,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70074,
    "c": 0.23759,
    "h": 316.2
  },
  "luminance": 0.30252
}

Semantic roles & 50–950 ramp

primary
#D662FF
secondary
#D3F5C8
accent
#E6003C
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D662FF

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

Preview Lab → · Contrast checker → · Palette generator →

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