#6E4ECC#6E4ECC

#6E4ECC is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.7% C 0.186 H 290.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#6E4ECC
RGBrgb(110, 78, 204)
HSLhsl(255, 55%, 55%)
HSVhsv(255, 62%, 80%)
CMYKcmyk(46.1%, 61.8%, 0%, 20%)
CIE-LABlab(42.95, 43.56, -61.04)
CIE-LCHlch(42.95, 74.99, 305.51°)
OKLaboklab(52.67% 0.0643 -0.1745)
OKLCHoklch(52.67% 0.186 290.2)
XYZxyz(20.0508, 13.1227, 58.5915)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E4ECC #ACCC4E
analogous
#4E6DCC #6E4ECC #AD4ECC
triadic
#6E4ECC #CC6E4E #4ECC6E
tetradic
#6E4ECC #CC4E6D #ACCC4E #4ECCAD
square
#6E4ECC #CC4E6D #ACCC4E #4ECCAD
split-complementary
#6E4ECC #CCAD4E #6DCC4E
monochromatic
#3A247C #5031AB #6E4ECC #957EDA #BCADE7

Accessibility & contrast

On white

5.79
#6E4ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6E4ECC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E4ECC
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E4ECC#FFFFFF#000000##FFFFFF
##6E4ECC1.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#516B86
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6e4ecc;
/* rgb */ color: rgb(110, 78, 204);
/* oklch */ color: oklch(52.7% 0.186 290.2);
Tailwind
colors: {
  custom: {
    50: '#9e81dc',
    500: '#6e4ecc',
    950: '#000000',
  },
}
SCSS
$custom: #6e4ecc;
$custom-light: #9e81dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6e4ecc",
  "rgb": {
    "r": 110,
    "g": 78,
    "b": 204
  },
  "hsl": {
    "h": 255.238,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52668,
    "c": 0.18596,
    "h": 290.2
  },
  "luminance": 0.13123
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6E4ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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