#562EF0#562EF0

#562EF0 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.8% C 0.262 H 280.5°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#562EF0
RGBrgb(86, 46, 240)
HSLhsl(252, 87%, 56%)
HSVhsv(252, 81%, 94%)
CMYKcmyk(64.2%, 80.8%, 0%, 5.9%)
CIE-LABlab(38.24, 66.25, -89.41)
CIE-LCHlch(38.24, 111.28, 306.54°)
OKLaboklab(49.76% 0.0477 -0.2581)
OKLCHoklch(49.76% 0.262 280.5)
XYZxyz(20.5379, 10.2221, 83.3119)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562EF0 #C8F02E
analogous
#2E67F0 #562EF0 #B72EF0
triadic
#562EF0 #F0562E #2EF056
tetradic
#562EF0 #F02E67 #C8F02E #2EF0B7
square
#562EF0 #F02E67 #C8F02E #2EF0B7
split-complementary
#562EF0 #F0B72E #67F02E
monochromatic
#280B99 #370FD2 #562EF0 #8467F4 #B2A0F8

Accessibility & contrast

On white

6.90
#562EF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#562EF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #562EF0
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562EF0#FFFFFF#000000##FFFFFF
##562EF01.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061F5
Deuteranopia (green-blind)
#0053ED
Tritanopia (blue-blind)
#006B91
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #562ef0;
/* rgb */ color: rgb(86, 46, 240);
/* oklch */ color: oklch(49.8% 0.262 280.5);
Tailwind
colors: {
  custom: {
    50: '#996ef7',
    500: '#562ef0',
    950: '#000000',
  },
}
SCSS
$custom: #562ef0;
$custom-light: #996ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#562ef0",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 240
  },
  "hsl": {
    "h": 252.371,
    "s": 86.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.49759,
    "c": 0.26245,
    "h": 280.5
  },
  "luminance": 0.10224
}

Semantic roles & 50–950 ramp

primary
#562EF0
secondary
#D4E595
accent
#FD2BD2
background
#FAF6FF
surface
#F4ECFF
border
#CEC7D7
text
#100817
muted
#7F7B85

Preview Lab

Preview with #562EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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