#6E4ECA#6E4ECA

#6E4ECA is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.5% C 0.183 H 290.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#6E4ECA
RGBrgb(110, 78, 202)
HSLhsl(255, 54%, 55%)
HSVhsv(255, 61%, 79%)
CMYKcmyk(45.5%, 61.4%, 0%, 20.8%)
CIE-LABlab(42.80, 43.00, -60.12)
CIE-LCHlch(42.80, 73.91, 305.57°)
OKLaboklab(52.52% 0.0644 -0.1718)
OKLCHoklch(52.52% 0.183 290.6)
XYZxyz(19.8125, 13.0273, 57.3363)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E4ECA #AACA4E
analogous
#4E6CCA #6E4ECA #AC4ECA
triadic
#6E4ECA #CA6E4E #4ECA6E
tetradic
#6E4ECA #CA4E6C #AACA4E #4ECAAC
square
#6E4ECA #CA4E6C #AACA4E #4ECAAC
split-complementary
#6E4ECA #CAAC4E #6CCA4E
monochromatic
#3A2479 #5132A8 #6E4ECA #957DD8 #BBACE6

Accessibility & contrast

On white

5.82
#6E4ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#6E4ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E4ECA
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E4ECA#FFFFFF#000000##FFFFFF
##6E4ECA1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0062C7
Tritanopia (blue-blind)
#526B85
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6e4eca;
/* rgb */ color: rgb(110, 78, 202);
/* oklch */ color: oklch(52.5% 0.183 290.6);
Tailwind
colors: {
  custom: {
    50: '#9e81db',
    500: '#6e4eca',
    950: '#000000',
  },
}
SCSS
$custom: #6e4eca;
$custom-light: #9e81db;
$custom-dark: #000000;
JSON
{
  "hex": "#6e4eca",
  "rgb": {
    "r": 110,
    "g": 78,
    "b": 202
  },
  "hsl": {
    "h": 255.484,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52518,
    "c": 0.18347,
    "h": 290.6
  },
  "luminance": 0.13028
}

Semantic roles & 50–950 ramp

primary
#6E4ECA
secondary
#C7D4A0
accent
#DD4BB7
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6E4ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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