#562EC8#562EC8

#562EC8 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.8% C 0.219 H 285.8°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#562EC8
RGBrgb(86, 46, 200)
HSLhsl(256, 63%, 48%)
HSVhsv(256, 77%, 78%)
CMYKcmyk(57%, 77%, 0%, 21.6%)
CIE-LABlab(34.19, 55.26, -73.12)
CIE-LCHlch(34.19, 91.65, 307.08°)
OKLaboklab(45.75% 0.0596 -0.2106)
OKLCHoklch(45.75% 0.219 285.8)
XYZxyz(15.2369, 8.1017, 55.3933)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562EC8 #A0C82E
analogous
#2E53C8 #562EC8 #A32EC8
triadic
#562EC8 #C8562E #2EC856
tetradic
#562EC8 #C82E53 #A0C82E #2EC8A3
square
#562EC8 #C82E53 #A0C82E #2EC8A3
split-complementary
#562EC8 #C8A32E #53C82E
monochromatic
#2B1764 #412396 #562EC8 #7B5AD9 #A38CE5

Accessibility & contrast

On white

8.01
#562EC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#562EC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562EC8
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562EC8#FFFFFF#000000##FFFFFF
##562EC81.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CC
Deuteranopia (green-blind)
#004CC5
Tritanopia (blue-blind)
#1C5A7A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #562ec8;
/* rgb */ color: rgb(86, 46, 200);
/* oklch */ color: oklch(45.8% 0.219 285.8);
Tailwind
colors: {
  custom: {
    50: '#926cda',
    500: '#562ec8',
    950: '#000000',
  },
}
SCSS
$custom: #562ec8;
$custom-light: #926cda;
$custom-dark: #000000;
JSON
{
  "hex": "#562ec8",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 200
  },
  "hsl": {
    "h": 255.584,
    "s": 62.602,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45754,
    "c": 0.21886,
    "h": 285.8
  },
  "luminance": 0.08103
}

Semantic roles & 50–950 ramp

primary
#562EC8
secondary
#BBCF83
accent
#E642BB
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #562EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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