#562BD3#562BD3

#562BD3 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.5% C 0.234 H 284.4°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#562BD3
RGBrgb(86, 43, 211)
HSLhsl(255, 66%, 50%)
HSVhsv(255, 80%, 83%)
CMYKcmyk(59.2%, 79.6%, 0%, 17.3%)
CIE-LABlab(34.82, 59.63, -78.48)
CIE-LCHlch(34.82, 98.56, 307.23°)
OKLaboklab(46.51% 0.0582 -0.2262)
OKLCHoklch(46.51% 0.234 284.4)
XYZxyz(16.4559, 8.4083, 62.3712)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562BD3 #A8D32B
analogous
#2B54D3 #562BD3 #AA2BD3
triadic
#562BD3 #D3562B #2BD356
tetradic
#562BD3 #D32B54 #A8D32B #2BD3AA
square
#562BD3 #D32B54 #A8D32B #2BD3AA
split-complementary
#562BD3 #D3AA2B #54D32B
monochromatic
#2D166D #4121A0 #562BD3 #7E5DDE #A790E8

Accessibility & contrast

On white

7.83
#562BD3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#562BD3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562BD3
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562BD3#FFFFFF#000000##FFFFFF
##562BD31.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D8
Deuteranopia (green-blind)
#004CD0
Tritanopia (blue-blind)
#005E80
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #562bd3;
/* rgb */ color: rgb(86, 43, 211);
/* oklch */ color: oklch(46.5% 0.234 284.4);
Tailwind
colors: {
  custom: {
    50: '#946be2',
    500: '#562bd3',
    950: '#000000',
  },
}
SCSS
$custom: #562bd3;
$custom-light: #946be2;
$custom-dark: #000000;
JSON
{
  "hex": "#562bd3",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 211
  },
  "hsl": {
    "h": 255.357,
    "s": 66.142,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46514,
    "c": 0.23357,
    "h": 284.4
  },
  "luminance": 0.08409
}

Semantic roles & 50–950 ramp

primary
#562BD3
secondary
#BFD387
accent
#E93FBD
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0F0716
muted
#7E7A84

Preview Lab

Preview with #562BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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