#D662C8#D662C8

#D662C8 is a light, vivid purple. Relative luminance 0.272; OKLCH L 67.2% C 0.189 H 332.3°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#D662C8
RGBrgb(214, 98, 200)
HSLhsl(307, 59%, 61%)
HSVhsv(307, 54%, 84%)
CMYKcmyk(0%, 54.2%, 6.5%, 16.1%)
CIE-LABlab(59.16, 58.44, -32.20)
CIE-LCHlch(59.16, 66.72, 331.14°)
OKLaboklab(67.22% 0.1672 -0.0878)
OKLCHoklch(67.22% 0.189 332.3)
XYZxyz(42.5245, 27.2045, 57.6436)
Luminance0.2720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D662C8 #62D670
analogous
#AA62D6 #D662C8 #D6628E
triadic
#D662C8 #C8D662 #62C8D6
tetradic
#D662C8 #D6AA62 #62D670 #628ED6
square
#D662C8 #D6AA62 #62D670 #628ED6
split-complementary
#D662C8 #8ED662 #62D6AA
monochromatic
#962789 #C734B5 #D662C8 #E393D9 #EFC3EA

Accessibility & contrast

On white

3.26
#D662C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#D662C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D662C8
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D662C8#FFFFFF#000000##000000
##D662C81.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E84CB
Deuteranopia (green-blind)
#8194C5
Tritanopia (blue-blind)
#DE6B8C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d662c8;
/* rgb */ color: rgb(214, 98, 200);
/* oklch */ color: oklch(67.2% 0.189 332.3);
Tailwind
colors: {
  custom: {
    50: '#e594d9',
    500: '#d662c8',
    950: '#000000',
  },
}
SCSS
$custom: #d662c8;
$custom-light: #e594d9;
$custom-dark: #000000;
JSON
{
  "hex": "#d662c8",
  "rgb": {
    "r": 214,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 307.241,
    "s": 58.586,
    "l": 61.176
  },
  "oklch": {
    "l": 0.67217,
    "c": 0.18882,
    "h": 332.3
  },
  "luminance": 0.27202
}

Semantic roles & 50–950 ramp

primary
#D662C8
secondary
#B4E0B9
accent
#C6331F
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160E14
muted
#847E83

Preview Lab

Preview with #D662C8

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

Preview Lab → · Contrast checker → · Palette generator →

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