#6E4EDB#6E4EDB

#6E4EDB is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 53.8% C 0.204 H 287.9°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#6E4EDB
RGBrgb(110, 78, 219)
HSLhsl(254, 66%, 58%)
HSVhsv(254, 64%, 86%)
CMYKcmyk(49.8%, 64.4%, 0%, 14.1%)
CIE-LABlab(44.06, 47.84, -67.85)
CIE-LCHlch(44.06, 83.02, 305.19°)
OKLaboklab(53.82% 0.063 -0.1945)
OKLCHoklch(53.82% 0.204 287.9)
XYZxyz(21.9372, 13.8772, 68.5268)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E4EDB #BBDB4E
analogous
#4E74DB #6E4EDB #B44EDB
triadic
#6E4EDB #DB6E4E #4EDB6E
tetradic
#6E4EDB #DB4E74 #BBDB4E #4EDBB4
square
#6E4EDB #DB4E74 #BBDB4E #4EDBB4
split-complementary
#6E4EDB #DBB44E #74DB4E
monochromatic
#381E91 #4B28C4 #6E4EDB #9881E5 #C1B4F0

Accessibility & contrast

On white

5.56
#6E4EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#6E4EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E4EDB
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E4EDB#FFFFFF#000000##FFFFFF
##6E4EDB1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#0064D8
Tritanopia (blue-blind)
#47708E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6e4edb;
/* rgb */ color: rgb(110, 78, 219);
/* oklch */ color: oklch(53.8% 0.204 287.9);
Tailwind
colors: {
  custom: {
    50: '#a081e7',
    500: '#6e4edb',
    950: '#000000',
  },
}
SCSS
$custom: #6e4edb;
$custom-light: #a081e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e4edb",
  "rgb": {
    "r": 110,
    "g": 78,
    "b": 219
  },
  "hsl": {
    "h": 253.617,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53821,
    "c": 0.20445,
    "h": 287.9
  },
  "luminance": 0.13878
}

Semantic roles & 50–950 ramp

primary
#6E4EDB
secondary
#D2DEA6
accent
#E93FC2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6E4EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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