#562FE2#562FE2

#562FE2 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.4% C 0.247 H 282.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#562FE2
RGBrgb(86, 47, 226)
HSLhsl(253, 76%, 54%)
HSVhsv(253, 79%, 89%)
CMYKcmyk(61.9%, 79.2%, 0%, 11.4%)
CIE-LABlab(36.93, 62.02, -83.62)
CIE-LCHlch(36.93, 104.10, 306.56°)
OKLaboklab(48.43% 0.0515 -0.2412)
OKLCHoklch(48.43% 0.247 282)
XYZxyz(18.5774, 9.5011, 72.7917)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562FE2 #BBE22F
analogous
#2F61E2 #562FE2 #B02FE2
triadic
#562FE2 #E2562F #2FE256
tetradic
#562FE2 #E22F61 #BBE22F #2FE2B0
square
#562FE2 #E22F61 #BBE22F #2FE2B0
split-complementary
#562FE2 #E2B02F #61E22F
monochromatic
#2B1284 #3D1ABA #562FE2 #8265E9 #AD9AF1

Accessibility & contrast

On white

7.24
#562FE2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#562FE2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562FE2
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562FE2#FFFFFF#000000##FFFFFF
##562FE21.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DE7
Deuteranopia (green-blind)
#0050DF
Tritanopia (blue-blind)
#006589
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #562fe2;
/* rgb */ color: rgb(86, 47, 226);
/* oklch */ color: oklch(48.4% 0.247 282.0);
Tailwind
colors: {
  custom: {
    50: '#976eed',
    500: '#562fe2',
    950: '#000000',
  },
}
SCSS
$custom: #562fe2;
$custom-light: #976eed;
$custom-dark: #000000;
JSON
{
  "hex": "#562fe2",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 226
  },
  "hsl": {
    "h": 253.073,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48429,
    "c": 0.24666,
    "h": 282
  },
  "luminance": 0.09502
}

Semantic roles & 50–950 ramp

primary
#562FE2
secondary
#CCDD90
accent
#F236C9
background
#FAF6FE
surface
#F4ECFD
border
#CEC7D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #562FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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