#6E4ECD#6E4ECD

#6E4ECD is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.7% C 0.187 H 290.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#6E4ECD
RGBrgb(110, 78, 205)
HSLhsl(255, 56%, 55%)
HSVhsv(255, 62%, 80%)
CMYKcmyk(46.3%, 62%, 0%, 19.6%)
CIE-LABlab(43.02, 43.85, -61.50)
CIE-LCHlch(43.02, 75.53, 305.49°)
OKLaboklab(52.74% 0.0642 -0.1758)
OKLCHoklch(52.74% 0.187 290.1)
XYZxyz(20.1711, 13.1708, 59.2252)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E4ECD #ADCD4E
analogous
#4E6DCD #6E4ECD #AD4ECD
triadic
#6E4ECD #CD6E4E #4ECD6E
tetradic
#6E4ECD #CD4E6D #ADCD4E #4ECDAD
square
#6E4ECD #CD4E6D #ADCD4E #4ECDAD
split-complementary
#6E4ECD #CDAD4E #6DCD4E
monochromatic
#3A237D #5031AD #6E4ECD #957EDA #BCADE8

Accessibility & contrast

On white

5.78
#6E4ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#6E4ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E4ECD
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E4ECD#FFFFFF#000000##FFFFFF
##6E4ECD1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#506C86
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6e4ecd;
/* rgb */ color: rgb(110, 78, 205);
/* oklch */ color: oklch(52.7% 0.187 290.1);
Tailwind
colors: {
  custom: {
    50: '#9f81dd',
    500: '#6e4ecd',
    950: '#000000',
  },
}
SCSS
$custom: #6e4ecd;
$custom-light: #9f81dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6e4ecd",
  "rgb": {
    "r": 110,
    "g": 78,
    "b": 205
  },
  "hsl": {
    "h": 255.118,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.52743,
    "c": 0.18722,
    "h": 290.1
  },
  "luminance": 0.13172
}

Semantic roles & 50–950 ramp

primary
#6E4ECD
secondary
#C9D6A1
accent
#DF49B9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6E4ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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