#6D4DE7#6D4DE7

#6D4DE7 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.6% C 0.220 H 286.1°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#6D4DE7
RGBrgb(109, 77, 231)
HSLhsl(252, 76%, 60%)
HSVhsv(252, 67%, 91%)
CMYKcmyk(52.8%, 66.7%, 0%, 9.4%)
CIE-LABlab(44.70, 51.65, -73.63)
CIE-LCHlch(44.70, 89.94, 305.05°)
OKLaboklab(54.55% 0.0611 -0.2115)
OKLCHoklch(54.55% 0.22 286.1)
XYZxyz(23.3800, 14.3272, 77.1193)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4DE7 #C7E74D
analogous
#4D7AE7 #6D4DE7 #BA4DE7
triadic
#6D4DE7 #E76D4D #4DE76D
tetradic
#6D4DE7 #E74D7A #C7E74D #4DE7BA
square
#6D4DE7 #E74D7A #C7E74D #4DE7BA
split-complementary
#6D4DE7 #E7BA4D #7AE74D
monochromatic
#3316A4 #441DD9 #6D4DE7 #9983EE #C5B9F6

Accessibility & contrast

On white

5.43
#6D4DE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#6D4DE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4DE7
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4DE7#FFFFFF#000000##FFFFFF
##6D4DE71.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEC
Deuteranopia (green-blind)
#0065E4
Tritanopia (blue-blind)
#3B7494
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6d4de7;
/* rgb */ color: rgb(109, 77, 231);
/* oklch */ color: oklch(54.6% 0.220 286.1);
Tailwind
colors: {
  custom: {
    50: '#a181f0',
    500: '#6d4de7',
    950: '#000000',
  },
}
SCSS
$custom: #6d4de7;
$custom-light: #a181f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4de7",
  "rgb": {
    "r": 109,
    "g": 77,
    "b": 231
  },
  "hsl": {
    "h": 252.468,
    "s": 76.238,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54554,
    "c": 0.22014,
    "h": 286.1
  },
  "luminance": 0.14328
}

Semantic roles & 50–950 ramp

primary
#6D4DE7
secondary
#D9E5AA
accent
#D80DAE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6D4DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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