#562DC9#562DC9

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

Color values

HEX#562DC9
RGBrgb(86, 45, 201)
HSLhsl(256, 63%, 48%)
HSVhsv(256, 78%, 79%)
CMYKcmyk(57.2%, 77.6%, 0%, 21.2%)
CIE-LABlab(34.13, 56.00, -73.81)
CIE-LCHlch(34.13, 92.65, 307.19°)
OKLaboklab(45.74% 0.06 -0.2126)
OKLCHoklch(45.74% 0.221 285.8)
XYZxyz(15.3156, 8.0713, 55.9979)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562DC9 #A0C92D
analogous
#2D52C9 #562DC9 #A42DC9
triadic
#562DC9 #C9562D #2DC956
tetradic
#562DC9 #C92D52 #A0C92D #2DC9A4
square
#562DC9 #C92D52 #A0C92D #2DC9A4
split-complementary
#562DC9 #C9A42D #52C92D
monochromatic
#2B1765 #412297 #562DC9 #7B59DA #A38BE5

Accessibility & contrast

On white

8.03
#562DC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#562DC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562DC9
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562DC9#FFFFFF#000000##FFFFFF
##562DC91.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #562dc9;
/* rgb */ color: rgb(86, 45, 201);
/* oklch */ color: oklch(45.7% 0.221 285.8);
Tailwind
colors: {
  custom: {
    50: '#936bdb',
    500: '#562dc9',
    950: '#000000',
  },
}
SCSS
$custom: #562dc9;
$custom-light: #936bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#562dc9",
  "rgb": {
    "r": 86,
    "g": 45,
    "b": 201
  },
  "hsl": {
    "h": 255.769,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4574,
    "c": 0.22089,
    "h": 285.8
  },
  "luminance": 0.08072
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #562DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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