#6D4ACD#6D4ACD

#6D4ACD is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.0% C 0.192 H 290.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#6D4ACD
RGBrgb(109, 74, 205)
HSLhsl(256, 57%, 55%)
HSVhsv(256, 64%, 80%)
CMYKcmyk(46.8%, 63.9%, 0%, 19.6%)
CIE-LABlab(42.09, 45.89, -63.02)
CIE-LCHlch(42.09, 77.96, 306.06°)
OKLaboklab(52.04% 0.0671 -0.1803)
OKLCHoklch(52.04% 0.192 290.4)
XYZxyz(19.7718, 12.5558, 59.1275)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4ACD #AACD4A
analogous
#4A68CD #6D4ACD #AF4ACD
triadic
#6D4ACD #CD6D4A #4ACD6D
tetradic
#6D4ACD #CD4A68 #AACD4A #4ACDAF
square
#6D4ACD #CD4A68 #AACD4A #4ACDAF
split-complementary
#6D4ACD #CDAF4A #68CD4A
monochromatic
#3A227B #502FAB #6D4ACD #947ADA #BAAAE7

Accessibility & contrast

On white

5.98
#6D4ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#6D4ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4ACD
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4ACD#FFFFFF#000000##FFFFFF
##6D4ACD1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#4F6985
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6d4acd;
/* rgb */ color: rgb(109, 74, 205);
/* oklch */ color: oklch(52.0% 0.192 290.4);
Tailwind
colors: {
  custom: {
    50: '#9e7edd',
    500: '#6d4acd',
    950: '#000000',
  },
}
SCSS
$custom: #6d4acd;
$custom-light: #9e7edd;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4acd",
  "rgb": {
    "r": 109,
    "g": 74,
    "b": 205
  },
  "hsl": {
    "h": 256.031,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52042,
    "c": 0.19243,
    "h": 290.4
  },
  "luminance": 0.12557
}

Semantic roles & 50–950 ramp

primary
#6D4ACD
secondary
#C6D59E
accent
#E048B7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6D4ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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