#6D4ECC#6D4ECC

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

Color values

HEX#6D4ECC
RGBrgb(109, 78, 204)
HSLhsl(255, 55%, 55%)
HSVhsv(255, 62%, 80%)
CMYKcmyk(46.6%, 61.8%, 0%, 20%)
CIE-LABlab(42.85, 43.36, -61.20)
CIE-LCHlch(42.85, 75.01, 305.32°)
OKLaboklab(52.58% 0.063 -0.175)
OKLCHoklch(52.58% 0.186 289.8)
XYZxyz(19.9271, 13.0589, 58.5857)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4ECC #ADCC4E
analogous
#4E6ECC #6D4ECC #AC4ECC
triadic
#6D4ECC #CC6D4E #4ECC6D
tetradic
#6D4ECC #CC4E6E #ADCC4E #4ECCAC
square
#6D4ECC #CC4E6E #ADCC4E #4ECCAC
split-complementary
#6D4ECC #CCAC4E #6ECC4E
monochromatic
#39247C #4F31AB #6D4ECC #947EDA #BBADE7

Accessibility & contrast

On white

5.81
#6D4ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6D4ECC
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4ECC#FFFFFF#000000##FFFFFF
##6D4ECC1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#4F6B86
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6d4ecc;
/* rgb */ color: rgb(109, 78, 204);
/* oklch */ color: oklch(52.6% 0.186 289.8);
Tailwind
colors: {
  custom: {
    50: '#9e81dc',
    500: '#6d4ecc',
    950: '#000000',
  },
}
SCSS
$custom: #6d4ecc;
$custom-light: #9e81dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4ecc",
  "rgb": {
    "r": 109,
    "g": 78,
    "b": 204
  },
  "hsl": {
    "h": 254.762,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52575,
    "c": 0.18598,
    "h": 289.8
  },
  "luminance": 0.1306
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D4ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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