#D562FF#D562FF

#D562FF is a light, highly saturated purple. Relative luminance 0.301; OKLCH L 70.0% C 0.237 H 315.9°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#D562FF
RGBrgb(213, 98, 255)
HSLhsl(284, 100%, 69%)
HSVhsv(284, 62%, 100%)
CMYKcmyk(16.5%, 61.6%, 0%, 0%)
CIE-LABlab(61.74, 68.14, -58.91)
CIE-LCHlch(61.74, 90.07, 319.15°)
OKLaboklab(69.95% 0.1703 -0.1651)
OKLCHoklch(69.95% 0.237 315.9)
XYZxyz(49.8555, 30.1033, 97.7727)
Luminance0.3010 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D562FF #8CFF62
analogous
#8762FF #D562FF #FF62DB
triadic
#D562FF #FFD562 #62FFD5
tetradic
#D562FF #FF8762 #8CFF62 #62DBFF
square
#D562FF #FF8762 #8CFF62 #62DBFF
split-complementary
#D562FF #DBFF62 #62FF87
monochromatic
#A900E7 #C525FF #D562FF #E59FFF #F6DCFF

Accessibility & contrast

On white

2.99
#D562FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#D562FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D562FF
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D562FF#FFFFFF#000000##000000
##D562FF1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C8EFF
Deuteranopia (green-blind)
#6298FB
Tritanopia (blue-blind)
#D27EA8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d562ff;
/* rgb */ color: rgb(213, 98, 255);
/* oklch */ color: oklch(70.0% 0.237 315.9);
Tailwind
colors: {
  custom: {
    50: '#e595ff',
    500: '#d562ff',
    950: '#000000',
  },
}
SCSS
$custom: #d562ff;
$custom-light: #e595ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d562ff",
  "rgb": {
    "r": 213,
    "g": 98,
    "b": 255
  },
  "hsl": {
    "h": 283.949,
    "s": 100,
    "l": 69.216
  },
  "oklch": {
    "l": 0.69954,
    "c": 0.2372,
    "h": 315.9
  },
  "luminance": 0.30101
}

Semantic roles & 50–950 ramp

primary
#D562FF
secondary
#D4F5C8
accent
#E6003D
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D562FF

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

Preview Lab → · Contrast checker → · Palette generator →

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