#562DD0#562DD0

#562DD0 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.4% C 0.229 H 284.7°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#562DD0
RGBrgb(86, 45, 208)
HSLhsl(255, 64%, 50%)
HSVhsv(255, 78%, 82%)
CMYKcmyk(58.7%, 78.4%, 0%, 18.4%)
CIE-LABlab(34.82, 57.93, -76.74)
CIE-LCHlch(34.82, 96.16, 307.05°)
OKLaboklab(46.43% 0.0579 -0.2212)
OKLCHoklch(46.43% 0.229 284.7)
XYZxyz(16.1578, 8.4082, 60.4338)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562DD0 #A7D02D
analogous
#2D56D0 #562DD0 #A82DD0
triadic
#562DD0 #D0562D #2DD056
tetradic
#562DD0 #D02D56 #A7D02D #2DD0A8
square
#562DD0 #D02D56 #A7D02D #2DD0A8
split-complementary
#562DD0 #D0A82D #56D02D
monochromatic
#2C176B #41229E #562DD0 #7E5EDC #A690E7

Accessibility & contrast

On white

7.83
#562DD0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#562DD0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562DD0
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562DD0#FFFFFF#000000##FFFFFF
##562DD01.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D5
Deuteranopia (green-blind)
#004DCD
Tritanopia (blue-blind)
#075D7E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #562dd0;
/* rgb */ color: rgb(86, 45, 208);
/* oklch */ color: oklch(46.4% 0.229 284.7);
Tailwind
colors: {
  custom: {
    50: '#946ce0',
    500: '#562dd0',
    950: '#000000',
  },
}
SCSS
$custom: #562dd0;
$custom-light: #946ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#562dd0",
  "rgb": {
    "r": 86,
    "g": 45,
    "b": 208
  },
  "hsl": {
    "h": 255.092,
    "s": 64.427,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46425,
    "c": 0.22862,
    "h": 284.7
  },
  "luminance": 0.08409
}

Semantic roles & 50–950 ramp

primary
#562DD0
secondary
#BFD287
accent
#E740BD
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0F0715
muted
#7E7A83

Preview Lab

Preview with #562DD0

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

Preview Lab → · Contrast checker → · Palette generator →

#562DD0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva