#6E56DC#6E56DC

#6E56DC is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.1% C 0.196 H 286.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#6E56DC
RGBrgb(110, 86, 220)
HSLhsl(251, 66%, 60%)
HSVhsv(251, 61%, 86%)
CMYKcmyk(50%, 60.9%, 0%, 13.7%)
CIE-LABlab(45.82, 43.62, -65.55)
CIE-LCHlch(45.82, 78.74, 303.64°)
OKLaboklab(55.13% 0.0549 -0.1877)
OKLCHoklch(55.13% 0.196 286.3)
XYZxyz(22.6726, 15.1368, 69.4233)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E56DC #C4DC56
analogous
#5681DC #6E56DC #B156DC
triadic
#6E56DC #DC6E56 #56DC6E
tetradic
#6E56DC #DC5681 #C4DC56 #56DCB1
square
#6E56DC #DC5681 #C4DC56 #56DCB1
split-complementary
#6E56DC #DCB156 #81DC56
monochromatic
#352098 #472ACB #6E56DC #9989E6 #C5BBF1

Accessibility & contrast

On white

5.21
#6E56DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#6E56DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E56DC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E56DC#FFFFFF#000000##FFFFFF
##6E56DC1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#467691
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6e56dc;
/* rgb */ color: rgb(110, 86, 220);
/* oklch */ color: oklch(55.1% 0.196 286.3);
Tailwind
colors: {
  custom: {
    50: '#a087e8',
    500: '#6e56dc',
    950: '#000000',
  },
}
SCSS
$custom: #6e56dc;
$custom-light: #a087e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6e56dc",
  "rgb": {
    "r": 110,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 250.746,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.55128,
    "c": 0.1956,
    "h": 286.3
  },
  "luminance": 0.15138
}

Semantic roles & 50–950 ramp

primary
#6E56DC
secondary
#D7E1AD
accent
#E93FCA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6E56DC

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

Preview Lab → · Contrast checker → · Palette generator →

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