#562FC8#562FC8

#562FC8 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.9% C 0.218 H 285.7°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#562FC8
RGBrgb(86, 47, 200)
HSLhsl(255, 62%, 48%)
HSVhsv(255, 77%, 78%)
CMYKcmyk(57%, 76.5%, 0%, 21.6%)
CIE-LABlab(34.36, 54.80, -72.85)
CIE-LCHlch(34.36, 91.16, 306.95°)
OKLaboklab(45.87% 0.059 -0.2098)
OKLCHoklch(45.87% 0.218 285.7)
XYZxyz(15.2764, 8.1807, 55.4064)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562FC8 #A1C82F
analogous
#2F54C8 #562FC8 #A22FC8
triadic
#562FC8 #C8562F #2FC856
tetradic
#562FC8 #C82F54 #A1C82F #2FC8A2
square
#562FC8 #C82F54 #A1C82F #2FC8A2
split-complementary
#562FC8 #C8A22F #54C82F
monochromatic
#2B1865 #412396 #562FC8 #7B5CD9 #A38DE4

Accessibility & contrast

On white

7.97
#562FC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#562FC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562FC8
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562FC8#FFFFFF#000000##FFFFFF
##562FC81.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CC
Deuteranopia (green-blind)
#004CC5
Tritanopia (blue-blind)
#1C5B7A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #562fc8;
/* rgb */ color: rgb(86, 47, 200);
/* oklch */ color: oklch(45.9% 0.218 285.7);
Tailwind
colors: {
  custom: {
    50: '#926cda',
    500: '#562fc8',
    950: '#000000',
  },
}
SCSS
$custom: #562fc8;
$custom-light: #926cda;
$custom-dark: #000000;
JSON
{
  "hex": "#562fc8",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 200
  },
  "hsl": {
    "h": 255.294,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45868,
    "c": 0.21794,
    "h": 285.7
  },
  "luminance": 0.08182
}

Semantic roles & 50–950 ramp

primary
#562FC8
secondary
#BCCF84
accent
#E543BC
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #562FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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