#562AC9#562AC9

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

Color values

HEX#562AC9
RGBrgb(86, 42, 201)
HSLhsl(257, 65%, 48%)
HSVhsv(257, 79%, 79%)
CMYKcmyk(57.2%, 79.1%, 0%, 21.2%)
CIE-LABlab(33.67, 57.34, -74.57)
CIE-LCHlch(33.67, 94.06, 307.56°)
OKLaboklab(45.42% 0.0619 -0.2148)
OKLCHoklch(45.42% 0.224 286.1)
XYZxyz(15.2052, 7.8505, 55.9611)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562AC9 #9DC92A
analogous
#2A4DC9 #562AC9 #A62AC9
triadic
#562AC9 #C9562A #2AC956
tetradic
#562AC9 #C92A4D #9DC92A #2AC9A6
square
#562AC9 #C92A4D #9DC92A #2AC9A6
split-complementary
#562AC9 #C9A62A #4DC92A
monochromatic
#2B1564 #401F96 #562AC9 #7A55DB #A287E6

Accessibility & contrast

On white

8.17
#562AC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#562AC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562AC9
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562AC9#FFFFFF#000000##FFFFFF
##562AC91.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CD
Deuteranopia (green-blind)
#004AC6
Tritanopia (blue-blind)
#1A597A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #562ac9;
/* rgb */ color: rgb(86, 42, 201);
/* oklch */ color: oklch(45.4% 0.224 286.1);
Tailwind
colors: {
  custom: {
    50: '#936adb',
    500: '#562ac9',
    950: '#000000',
  },
}
SCSS
$custom: #562ac9;
$custom-light: #936adb;
$custom-dark: #000000;
JSON
{
  "hex": "#562ac9",
  "rgb": {
    "r": 86,
    "g": 42,
    "b": 201
  },
  "hsl": {
    "h": 256.604,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45419,
    "c": 0.22351,
    "h": 286.1
  },
  "luminance": 0.07851
}

Semantic roles & 50–950 ramp

primary
#562AC9
secondary
#B9D07F
accent
#E83FBA
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #562AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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