#562CC3#562CC3

#562CC3 is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.0% C 0.215 H 286.9°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#562CC3
RGBrgb(86, 44, 195)
HSLhsl(257, 63%, 47%)
HSVhsv(257, 77%, 76%)
CMYKcmyk(55.9%, 77.4%, 0%, 23.5%)
CIE-LABlab(33.39, 54.80, -71.51)
CIE-LCHlch(33.39, 90.10, 307.46°)
OKLaboklab(45.05% 0.0624 -0.2059)
OKLCHoklch(45.05% 0.215 286.9)
XYZxyz(14.5858, 7.7191, 52.3405)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562CC3 #99C32C
analogous
#2C4DC3 #562CC3 #A22CC3
triadic
#562CC3 #C3562C #2CC356
tetradic
#562CC3 #C32C4D #99C32C #2CC3A2
square
#562CC3 #C32C4D #99C32C #2CC3A2
split-complementary
#562CC3 #C3A22C #4DC32C
monochromatic
#2A155F #402191 #562CC3 #7954D8 #A086E4

Accessibility & contrast

On white

8.25
#562CC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#562CC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562CC3
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562CC3#FFFFFF#000000##FFFFFF
##562CC31.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C7
Deuteranopia (green-blind)
#004AC0
Tritanopia (blue-blind)
#245877
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #562cc3;
/* rgb */ color: rgb(86, 44, 195);
/* oklch */ color: oklch(45.0% 0.215 286.9);
Tailwind
colors: {
  custom: {
    50: '#926bd6',
    500: '#562cc3',
    950: '#000000',
  },
}
SCSS
$custom: #562cc3;
$custom-light: #926bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#562cc3",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 195
  },
  "hsl": {
    "h": 256.689,
    "s": 63.18,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45049,
    "c": 0.21513,
    "h": 286.9
  },
  "luminance": 0.0772
}

Semantic roles & 50–950 ramp

primary
#562CC3
secondary
#B7CD7E
accent
#E642B8
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #562CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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