#6D4DCA#6D4DCA

#6D4DCA is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.185 H 290.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#6D4DCA
RGBrgb(109, 77, 202)
HSLhsl(255, 54%, 55%)
HSVhsv(255, 62%, 79%)
CMYKcmyk(46%, 61.9%, 0%, 20.8%)
CIE-LABlab(42.49, 43.36, -60.63)
CIE-LCHlch(42.49, 74.53, 305.57°)
OKLaboklab(52.27% 0.0642 -0.1733)
OKLCHoklch(52.27% 0.185 290.3)
XYZxyz(19.6182, 12.8225, 57.3070)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4DCA #AACA4D
analogous
#4D6CCA #6D4DCA #AC4DCA
triadic
#6D4DCA #CA6D4D #4DCA6D
tetradic
#6D4DCA #CA4D6C #AACA4D #4DCAAC
square
#6D4DCA #CA4D6C #AACA4D #4DCAAC
split-complementary
#6D4DCA #CAAC4D #6CCA4D
monochromatic
#3A2479 #5032A8 #6D4DCA #947CD8 #BAABE6

Accessibility & contrast

On white

5.89
#6D4DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#6D4DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4DCA
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4DCA#FFFFFF#000000##FFFFFF
##6D4DCA1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0061C7
Tritanopia (blue-blind)
#506A84
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6d4dca;
/* rgb */ color: rgb(109, 77, 202);
/* oklch */ color: oklch(52.3% 0.185 290.3);
Tailwind
colors: {
  custom: {
    50: '#9e80db',
    500: '#6d4dca',
    950: '#000000',
  },
}
SCSS
$custom: #6d4dca;
$custom-light: #9e80db;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4dca",
  "rgb": {
    "r": 109,
    "g": 77,
    "b": 202
  },
  "hsl": {
    "h": 255.36,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5227,
    "c": 0.1848,
    "h": 290.3
  },
  "luminance": 0.12823
}

Semantic roles & 50–950 ramp

primary
#6D4DCA
secondary
#C6D49F
accent
#DD4AB8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6D4DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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