#562EFF#562EFF

#562EFF is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 51.3% C 0.278 H 278.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#562EFF
RGBrgb(86, 46, 255)
HSLhsl(251, 100%, 59%)
HSVhsv(251, 82%, 100%)
CMYKcmyk(66.3%, 82%, 0%, 0%)
CIE-LABlab(39.83, 70.28, -95.21)
CIE-LCHlch(39.83, 118.34, 306.43°)
OKLaboklab(51.32% 0.0431 -0.2749)
OKLCHoklch(51.32% 0.278 278.9)
XYZxyz(22.8590, 11.1505, 95.5360)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562EFF #D7FF2E
analogous
#2E6FFF #562EFF #BE2EFF
triadic
#562EFF #FF562E #2EFF56
tetradic
#562EFF #FF2E6F #D7FF2E #2EFFBE
square
#562EFF #FF2E6F #D7FF2E #2EFFBE
split-complementary
#562EFF #FFBE2E #6FFF2E
monochromatic
#2200B3 #2E00F0 #562EFF #876BFF #B9A8FF

Accessibility & contrast

On white

6.50
#562EFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#562EFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #562EFF
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562EFF#FFFFFF#000000##FFFFFF
##562EFF1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065FF
Deuteranopia (green-blind)
#0055FB
Tritanopia (blue-blind)
#00719A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #562eff;
/* rgb */ color: rgb(86, 46, 255);
/* oklch */ color: oklch(51.3% 0.278 278.9);
Tailwind
colors: {
  custom: {
    50: '#9c6fff',
    500: '#562eff',
    950: '#000000',
  },
}
SCSS
$custom: #562eff;
$custom-light: #9c6fff;
$custom-dark: #000000;
JSON
{
  "hex": "#562eff",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 255
  },
  "hsl": {
    "h": 251.483,
    "s": 100,
    "l": 59.02
  },
  "oklch": {
    "l": 0.51321,
    "c": 0.27827,
    "h": 278.9
  },
  "luminance": 0.11152
}

Semantic roles & 50–950 ramp

primary
#562EFF
secondary
#DEED9B
accent
#FF29D6
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#100818
muted
#7F7B86

Preview Lab

Preview with #562EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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