#6D4ECD#6D4ECD

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

Color values

HEX#6D4ECD
RGBrgb(109, 78, 205)
HSLhsl(255, 56%, 55%)
HSVhsv(255, 62%, 80%)
CMYKcmyk(46.8%, 62%, 0%, 19.6%)
CIE-LABlab(42.92, 43.65, -61.66)
CIE-LCHlch(42.92, 75.55, 305.29°)
OKLaboklab(52.65% 0.0629 -0.1763)
OKLCHoklch(52.65% 0.187 289.6)
XYZxyz(20.0474, 13.1070, 59.2194)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4ECD #AECD4E
analogous
#4E6ECD #6D4ECD #AD4ECD
triadic
#6D4ECD #CD6D4E #4ECD6D
tetradic
#6D4ECD #CD4E6E #AECD4E #4ECDAD
square
#6D4ECD #CD4E6E #AECD4E #4ECDAD
split-complementary
#6D4ECD #CDAD4E #6ECD4E
monochromatic
#39237D #4F31AD #6D4ECD #947EDA #BCADE8

Accessibility & contrast

On white

5.80
#6D4ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6D4ECD
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4ECD#FFFFFF#000000##FFFFFF
##6D4ECD1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#4E6C86
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6d4ecd;
/* rgb */ color: rgb(109, 78, 205);
/* oklch */ color: oklch(52.7% 0.187 289.6);
Tailwind
colors: {
  custom: {
    50: '#9e81dd',
    500: '#6d4ecd',
    950: '#000000',
  },
}
SCSS
$custom: #6d4ecd;
$custom-light: #9e81dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4ecd",
  "rgb": {
    "r": 109,
    "g": 78,
    "b": 205
  },
  "hsl": {
    "h": 254.646,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.52651,
    "c": 0.18723,
    "h": 289.6
  },
  "luminance": 0.13108
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D4ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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