#6E4AE5#6E4AE5

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

Color values

HEX#6E4AE5
RGBrgb(110, 74, 229)
HSLhsl(254, 75%, 59%)
HSVhsv(254, 68%, 90%)
CMYKcmyk(52%, 67.7%, 0%, 10.2%)
CIE-LABlab(44.04, 52.85, -73.56)
CIE-LCHlch(44.04, 90.58, 305.70°)
OKLaboklab(54.06% 0.0654 -0.2113)
OKLCHoklch(54.06% 0.221 287.2)
XYZxyz(23.0179, 13.8685, 75.5776)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E4AE5 #C1E54A
analogous
#4A74E5 #6E4AE5 #BB4AE5
triadic
#6E4AE5 #E56E4A #4AE56E
tetradic
#6E4AE5 #E54A74 #C1E54A #4AE5BB
square
#6E4AE5 #E54A74 #C1E54A #4AE5BB
split-complementary
#6E4AE5 #E5BB4A #74E54A
monochromatic
#36179E #481ED3 #6E4AE5 #9980ED #C4B5F4

Accessibility & contrast

On white

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

On black

3.77
#6E4AE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6E4AE5#FFFFFF#000000##FFFFFF
##6E4AE51.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEA
Deuteranopia (green-blind)
#0064E2
Tritanopia (blue-blind)
#3F7292
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6e4ae5;
/* rgb */ color: rgb(110, 74, 229);
/* oklch */ color: oklch(54.1% 0.221 287.2);
Tailwind
colors: {
  custom: {
    50: '#a27fee',
    500: '#6e4ae5',
    950: '#000000',
  },
}
SCSS
$custom: #6e4ae5;
$custom-light: #a27fee;
$custom-dark: #000000;
JSON
{
  "hex": "#6e4ae5",
  "rgb": {
    "r": 110,
    "g": 74,
    "b": 229
  },
  "hsl": {
    "h": 253.935,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54056,
    "c": 0.22115,
    "h": 287.2
  },
  "luminance": 0.1387
}

Semantic roles & 50–950 ramp

primary
#6E4AE5
secondary
#D6E4A7
accent
#F136C6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6E4AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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