#D662FB#D662FB

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

Color values

HEX#D662FB
RGBrgb(214, 98, 251)
HSLhsl(285, 95%, 68%)
HSVhsv(285, 61%, 98%)
CMYKcmyk(14.7%, 61%, 0%, 1.6%)
CIE-LABlab(61.65, 67.59, -56.84)
CIE-LCHlch(61.65, 88.32, 319.94°)
OKLaboklab(69.85% 0.1714 -0.1591)
OKLCHoklch(69.85% 0.234 317.1)
XYZxyz(49.5093, 29.9984, 94.4304)
Luminance0.3000 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D662FB #87FB62
analogous
#8962FB #D662FB #FB62D3
triadic
#D662FB #FBD662 #62FBD6
tetradic
#D662FB #FB8962 #87FB62 #62D3FB
square
#D662FB #FB8962 #87FB62 #62D3FB
split-complementary
#D662FB #D3FB62 #62FB89
monochromatic
#A906DD #C626F9 #D662FB #E69EFD #F5D9FE

Accessibility & contrast

On white

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

On black

7.00
#D662FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D662FB
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D662FB#FFFFFF#000000##000000
##D662FB1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#338EFF
Deuteranopia (green-blind)
#6698F7
Tritanopia (blue-blind)
#D57DA6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d662fb;
/* rgb */ color: rgb(214, 98, 251);
/* oklch */ color: oklch(69.8% 0.234 317.1);
Tailwind
colors: {
  custom: {
    50: '#e695fd',
    500: '#d662fb',
    950: '#000000',
  },
}
SCSS
$custom: #d662fb;
$custom-light: #e695fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d662fb",
  "rgb": {
    "r": 214,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 285.49,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69845,
    "c": 0.23387,
    "h": 317.1
  },
  "luminance": 0.29997
}

Semantic roles & 50–950 ramp

primary
#D662FB
secondary
#D1F3C5
accent
#E60038
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D662FB

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

Preview Lab → · Contrast checker → · Palette generator →

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