#6D4ED9#6D4ED9

#6D4ED9 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.6% C 0.202 H 287.8°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#6D4ED9
RGBrgb(109, 78, 217)
HSLhsl(253, 65%, 58%)
HSVhsv(253, 64%, 85%)
CMYKcmyk(49.8%, 64.1%, 0%, 14.9%)
CIE-LABlab(43.81, 47.08, -67.11)
CIE-LCHlch(43.81, 81.98, 305.05°)
OKLaboklab(53.58% 0.0619 -0.1924)
OKLCHoklch(53.58% 0.202 287.8)
XYZxyz(21.5518, 13.7088, 67.1427)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4ED9 #BAD94E
analogous
#4E75D9 #6D4ED9 #B24ED9
triadic
#6D4ED9 #D96D4E #4ED96D
tetradic
#6D4ED9 #D94E75 #BAD94E #4ED9B2
square
#6D4ED9 #D94E75 #BAD94E #4ED9B2
split-complementary
#6D4ED9 #D9B24E #75D94E
monochromatic
#371F8E #4B29C0 #6D4ED9 #9780E4 #C0B3EF

Accessibility & contrast

On white

5.61
#6D4ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#6D4ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4ED9
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4ED9#FFFFFF#000000##FFFFFF
##6D4ED91.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#0064D6
Tritanopia (blue-blind)
#46708C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6d4ed9;
/* rgb */ color: rgb(109, 78, 217);
/* oklch */ color: oklch(53.6% 0.202 287.8);
Tailwind
colors: {
  custom: {
    50: '#9f81e6',
    500: '#6d4ed9',
    950: '#000000',
  },
}
SCSS
$custom: #6d4ed9;
$custom-light: #9f81e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4ed9",
  "rgb": {
    "r": 109,
    "g": 78,
    "b": 217
  },
  "hsl": {
    "h": 253.381,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.53575,
    "c": 0.20206,
    "h": 287.8
  },
  "luminance": 0.1371
}

Semantic roles & 50–950 ramp

primary
#6D4ED9
secondary
#D1DDA6
accent
#E840C2
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6D4ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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