#6D4ACA#6D4ACA

#6D4ACA is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.8% C 0.189 H 290.9°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#6D4ACA
RGBrgb(109, 74, 202)
HSLhsl(256, 55%, 54%)
HSVhsv(256, 63%, 79%)
CMYKcmyk(46%, 63.4%, 0%, 20.8%)
CIE-LABlab(41.86, 45.04, -61.65)
CIE-LCHlch(41.86, 76.35, 306.15°)
OKLaboklab(51.81% 0.0674 -0.1763)
OKLCHoklch(51.81% 0.189 290.9)
XYZxyz(19.4131, 12.4123, 57.2386)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4ACA #A7CA4A
analogous
#4A67CA #6D4ACA #AD4ACA
triadic
#6D4ACA #CA6D4A #4ACA6D
tetradic
#6D4ACA #CA4A67 #A7CA4A #4ACAAD
square
#6D4ACA #CA4A67 #A7CA4A #4ACAAD
split-complementary
#6D4ACA #CAAD4A #67CA4A
monochromatic
#3A2377 #5131A6 #6D4ACA #9379D8 #B9A9E6

Accessibility & contrast

On white

6.03
#6D4ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#6D4ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4ACA
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4ACA#FFFFFF#000000##FFFFFF
##6D4ACA1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#506883
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6d4aca;
/* rgb */ color: rgb(109, 74, 202);
/* oklch */ color: oklch(51.8% 0.189 290.9);
Tailwind
colors: {
  custom: {
    50: '#9e7edb',
    500: '#6d4aca',
    950: '#000000',
  },
}
SCSS
$custom: #6d4aca;
$custom-light: #9e7edb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4aca",
  "rgb": {
    "r": 109,
    "g": 74,
    "b": 202
  },
  "hsl": {
    "h": 256.406,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51812,
    "c": 0.18875,
    "h": 290.9
  },
  "luminance": 0.12413
}

Semantic roles & 50–950 ramp

primary
#6D4ACA
secondary
#C4D39D
accent
#DE4AB5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6D4ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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