#562AE2#562AE2

#562AE2 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.9% C 0.250 H 282.4°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#562AE2
RGBrgb(86, 42, 226)
HSLhsl(254, 76%, 53%)
HSVhsv(254, 81%, 89%)
CMYKcmyk(61.9%, 81.4%, 0%, 11.4%)
CIE-LABlab(36.22, 64.09, -84.79)
CIE-LCHlch(36.22, 106.29, 307.08°)
OKLaboklab(47.94% 0.0539 -0.2446)
OKLCHoklch(47.94% 0.25 282.4)
XYZxyz(18.3889, 9.1240, 72.7288)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562AE2 #B6E22A
analogous
#2A5AE2 #562AE2 #B22AE2
triadic
#562AE2 #E2562A #2AE256
tetradic
#562AE2 #E22A5A #B6E22A #2AE2B2
square
#562AE2 #E22A5A #B6E22A #2AE2B2
split-complementary
#562AE2 #E2B22A #5AE22A
monochromatic
#2C1180 #3E19B6 #562AE2 #8160E9 #AB96F1

Accessibility & contrast

On white

7.43
#562AE2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#562AE2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562AE2
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562AE2#FFFFFF#000000##FFFFFF
##562AE21.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BE7
Deuteranopia (green-blind)
#004FDF
Tritanopia (blue-blind)
#006488
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #562ae2;
/* rgb */ color: rgb(86, 42, 226);
/* oklch */ color: oklch(47.9% 0.250 282.4);
Tailwind
colors: {
  custom: {
    50: '#976bed',
    500: '#562ae2',
    950: '#000000',
  },
}
SCSS
$custom: #562ae2;
$custom-light: #976bed;
$custom-dark: #000000;
JSON
{
  "hex": "#562ae2",
  "rgb": {
    "r": 86,
    "g": 42,
    "b": 226
  },
  "hsl": {
    "h": 254.348,
    "s": 76.033,
    "l": 52.549
  },
  "oklch": {
    "l": 0.47939,
    "c": 0.25045,
    "h": 282.4
  },
  "luminance": 0.09125
}

Semantic roles & 50–950 ramp

primary
#562AE2
secondary
#C9DC8C
accent
#F335C5
background
#FAF6FE
surface
#F4ECFD
border
#CEC7D5
text
#0F0716
muted
#7F7A84

Preview Lab

Preview with #562AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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