#6E56DB#6E56DB

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

Color values

HEX#6E56DB
RGBrgb(110, 86, 219)
HSLhsl(251, 65%, 60%)
HSVhsv(251, 61%, 86%)
CMYKcmyk(49.8%, 60.7%, 0%, 14.1%)
CIE-LABlab(45.75, 43.33, -65.10)
CIE-LCHlch(45.75, 78.20, 303.65°)
OKLaboklab(55.05% 0.0549 -0.1864)
OKLCHoklch(55.05% 0.194 286.4)
XYZxyz(22.5406, 15.0840, 68.7279)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E56DB #C3DB56
analogous
#5681DB #6E56DB #B056DB
triadic
#6E56DB #DB6E56 #56DB6E
tetradic
#6E56DB #DB5681 #C3DB56 #56DBB0
square
#6E56DB #DB5681 #C3DB56 #56DBB0
split-complementary
#6E56DB #DBB056 #81DB56
monochromatic
#352097 #472BC9 #6E56DB #9988E6 #C5BBF0

Accessibility & contrast

On white

5.23
#6E56DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#6E56DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E56DB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E56DB#FFFFFF#000000##FFFFFF
##6E56DB1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#0068D8
Tritanopia (blue-blind)
#467590
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6e56db;
/* rgb */ color: rgb(110, 86, 219);
/* oklch */ color: oklch(55.1% 0.194 286.4);
Tailwind
colors: {
  custom: {
    50: '#a087e7',
    500: '#6e56db',
    950: '#000000',
  },
}
SCSS
$custom: #6e56db;
$custom-light: #a087e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e56db",
  "rgb": {
    "r": 110,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 250.827,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55053,
    "c": 0.19434,
    "h": 286.4
  },
  "luminance": 0.15085
}

Semantic roles & 50–950 ramp

primary
#6E56DB
secondary
#D7E0AD
accent
#E840CA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6E56DB

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

Preview Lab → · Contrast checker → · Palette generator →

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