#D562F5#D562F5

#D562F5 is a light, highly saturated purple. Relative luminance 0.295; OKLCH L 69.4% C 0.228 H 318.3°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#D562F5
RGBrgb(213, 98, 245)
HSLhsl(287, 88%, 67%)
HSVhsv(287, 60%, 96%)
CMYKcmyk(13.1%, 60%, 0%, 3.9%)
CIE-LABlab(61.20, 66.21, -54.26)
CIE-LCHlch(61.20, 85.60, 320.67°)
OKLaboklab(69.38% 0.1702 -0.1515)
OKLCHoklch(69.38% 0.228 318.3)
XYZxyz(48.2874, 29.4761, 89.5144)
Luminance0.2947 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D562F5 #82F562
analogous
#8C62F5 #D562F5 #F562CB
triadic
#D562F5 #F5D562 #62F5D5
tetradic
#D562F5 #F58C62 #82F562 #62CBF5
square
#D562F5 #F58C62 #82F562 #62CBF5
split-complementary
#D562F5 #CBF562 #62F58C
monochromatic
#A50DCF #C628F1 #D562F5 #E49CF9 #F4D5FC

Accessibility & contrast

On white

3.05
#D562F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#D562F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D562F5
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D562F5#FFFFFF#000000##000000
##D562F51.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8CFA
Deuteranopia (green-blind)
#6998F1
Tritanopia (blue-blind)
#D57AA3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d562f5;
/* rgb */ color: rgb(213, 98, 245);
/* oklch */ color: oklch(69.4% 0.228 318.3);
Tailwind
colors: {
  custom: {
    50: '#e595f9',
    500: '#d562f5',
    950: '#000000',
  },
}
SCSS
$custom: #d562f5;
$custom-light: #e595f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d562f5",
  "rgb": {
    "r": 213,
    "g": 98,
    "b": 245
  },
  "hsl": {
    "h": 286.939,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69384,
    "c": 0.22789,
    "h": 318.3
  },
  "luminance": 0.29474
}

Semantic roles & 50–950 ramp

primary
#D562F5
secondary
#CCF1C2
accent
#E50132
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D562F5

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

Preview Lab → · Contrast checker → · Palette generator →

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