#562CC9#562CC9

#562CC9 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.6% C 0.222 H 285.9°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#562CC9
RGBrgb(86, 44, 201)
HSLhsl(256, 64%, 48%)
HSVhsv(256, 78%, 79%)
CMYKcmyk(57.2%, 78.1%, 0%, 21.2%)
CIE-LABlab(33.97, 56.45, -74.06)
CIE-LCHlch(33.97, 93.13, 307.32°)
OKLaboklab(45.63% 0.0606 -0.2133)
OKLCHoklch(45.63% 0.222 285.9)
XYZxyz(15.2779, 7.9959, 55.9853)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562CC9 #9FC92C
analogous
#2C50C9 #562CC9 #A42CC9
triadic
#562CC9 #C9562C #2CC956
tetradic
#562CC9 #C92C50 #9FC92C #2CC9A4
square
#562CC9 #C92C50 #9FC92C #2CC9A4
split-complementary
#562CC9 #C9A42C #50C92C
monochromatic
#2B1665 #412197 #562CC9 #7B58DA #A28AE5

Accessibility & contrast

On white

8.08
#562CC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#562CC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562CC9
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562CC9#FFFFFF#000000##FFFFFF
##562CC91.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CD
Deuteranopia (green-blind)
#004BC6
Tritanopia (blue-blind)
#1A5A7A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #562cc9;
/* rgb */ color: rgb(86, 44, 201);
/* oklch */ color: oklch(45.6% 0.222 285.9);
Tailwind
colors: {
  custom: {
    50: '#936bdb',
    500: '#562cc9',
    950: '#000000',
  },
}
SCSS
$custom: #562cc9;
$custom-light: #936bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#562cc9",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 201
  },
  "hsl": {
    "h": 256.051,
    "s": 64.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45631,
    "c": 0.22178,
    "h": 285.9
  },
  "luminance": 0.07997
}

Semantic roles & 50–950 ramp

primary
#562CC9
secondary
#BACF82
accent
#E741BB
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #562CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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