#562CC7#562CC7

#562CC7 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.4% C 0.220 H 286.2°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#562CC7
RGBrgb(86, 44, 199)
HSLhsl(256, 64%, 48%)
HSVhsv(256, 78%, 78%)
CMYKcmyk(56.8%, 77.9%, 0%, 22%)
CIE-LABlab(33.78, 55.90, -73.22)
CIE-LCHlch(33.78, 92.12, 307.36°)
OKLaboklab(45.44% 0.0612 -0.2108)
OKLCHoklch(45.44% 0.22 286.2)
XYZxyz(15.0441, 7.9024, 54.7544)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562CC7 #9DC72C
analogous
#2C50C7 #562CC7 #A32CC7
triadic
#562CC7 #C7562C #2CC756
tetradic
#562CC7 #C72C50 #9DC72C #2CC7A3
square
#562CC7 #C72C50 #9DC72C #2CC7A3
split-complementary
#562CC7 #C7A32C #50C72C
monochromatic
#2B1663 #402195 #562CC7 #7A56DA #A289E5

Accessibility & contrast

On white

8.14
#562CC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#562CC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562CC7
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562CC7#FFFFFF#000000##FFFFFF
##562CC71.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CB
Deuteranopia (green-blind)
#004BC4
Tritanopia (blue-blind)
#1E5979
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #562cc7;
/* rgb */ color: rgb(86, 44, 199);
/* oklch */ color: oklch(45.4% 0.220 286.2);
Tailwind
colors: {
  custom: {
    50: '#926bd9',
    500: '#562cc7',
    950: '#000000',
  },
}
SCSS
$custom: #562cc7;
$custom-light: #926bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#562cc7",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 199
  },
  "hsl": {
    "h": 256.258,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45436,
    "c": 0.21956,
    "h": 286.2
  },
  "luminance": 0.07903
}

Semantic roles & 50–950 ramp

primary
#562CC7
secondary
#B9CF80
accent
#E741BA
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #562CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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