#6E56EC#6E56EC

#6E56EC is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.4% C 0.215 H 284.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#6E56EC
RGBrgb(110, 86, 236)
HSLhsl(250, 80%, 63%)
HSVhsv(250, 64%, 93%)
CMYKcmyk(53.4%, 63.6%, 0%, 7.5%)
CIE-LABlab(47.01, 48.32, -72.68)
CIE-LCHlch(47.01, 87.27, 303.62°)
OKLaboklab(56.36% 0.0536 -0.2087)
OKLCHoklch(56.36% 0.215 284.4)
XYZxyz(24.8939, 16.0253, 81.1221)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E56EC #D4EC56
analogous
#5689EC #6E56EC #B956EC
triadic
#6E56EC #EC6E56 #56EC6E
tetradic
#6E56EC #EC5689 #D4EC56 #56ECB9
square
#6E56EC #EC5689 #D4EC56 #56ECB9
split-complementary
#6E56EC #ECB956 #89EC56
monochromatic
#2E14B3 #3F1FE6 #6E56EC #9D8DF2 #CCC4F8

Accessibility & contrast

On white

4.99
#6E56EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#6E56EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E56EC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E56EC#FFFFFF#000000##FFFFFF
##6E56EC1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F1
Deuteranopia (green-blind)
#006BE9
Tritanopia (blue-blind)
#377B99
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6e56ec;
/* rgb */ color: rgb(110, 86, 236);
/* oklch */ color: oklch(56.4% 0.215 284.4);
Tailwind
colors: {
  custom: {
    50: '#a287f3',
    500: '#6e56ec',
    950: '#000000',
  },
}
SCSS
$custom: #6e56ec;
$custom-light: #a287f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e56ec",
  "rgb": {
    "r": 110,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 249.6,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56364,
    "c": 0.21547,
    "h": 284.4
  },
  "luminance": 0.16027
}

Semantic roles & 50–950 ramp

primary
#6E56EC
secondary
#E1EAB4
accent
#DC09BA
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6E56EC

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

Preview Lab → · Contrast checker → · Palette generator →

#6E56EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva