#562EDB#562EDB

#562EDB is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.6% C 0.240 H 283.0°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#562EDB
RGBrgb(86, 46, 219)
HSLhsl(254, 71%, 52%)
HSVhsv(254, 79%, 86%)
CMYKcmyk(60.7%, 79%, 0%, 14.1%)
CIE-LABlab(36.07, 60.52, -81.03)
CIE-LCHlch(36.07, 101.14, 306.76°)
OKLaboklab(47.62% 0.0541 -0.2337)
OKLCHoklch(47.62% 0.24 283)
XYZxyz(17.5970, 9.0457, 67.8228)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562EDB #B3DB2E
analogous
#2E5DDB #562EDB #AD2EDB
triadic
#562EDB #DB562E #2EDB56
tetradic
#562EDB #DB2E5D #B3DB2E #2EDBAD
square
#562EDB #DB2E5D #B3DB2E #2EDBAD
split-complementary
#562EDB #DBAD2E #5DDB2E
monochromatic
#2C157A #3F1EAE #562EDB #8062E4 #AA96ED

Accessibility & contrast

On white

7.47
#562EDB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#562EDB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562EDB
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562EDB#FFFFFF#000000##FFFFFF
##562EDB1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AE0
Deuteranopia (green-blind)
#004FD8
Tritanopia (blue-blind)
#006285
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #562edb;
/* rgb */ color: rgb(86, 46, 219);
/* oklch */ color: oklch(47.6% 0.240 283.0);
Tailwind
colors: {
  custom: {
    50: '#956de8',
    500: '#562edb',
    950: '#000000',
  },
}
SCSS
$custom: #562edb;
$custom-light: #956de8;
$custom-dark: #000000;
JSON
{
  "hex": "#562edb",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 219
  },
  "hsl": {
    "h": 253.873,
    "s": 70.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.47623,
    "c": 0.23984,
    "h": 283
  },
  "luminance": 0.09047
}

Semantic roles & 50–950 ramp

primary
#562EDB
secondary
#C7D88D
accent
#ED3AC4
background
#FAF6FE
surface
#F3ECFD
border
#CDC7D5
text
#0F0716
muted
#7F7A84

Preview Lab

Preview with #562EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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