#6D4CC7#6D4CC7

#6D4CC7 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.9% C 0.182 H 291.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#6D4CC7
RGBrgb(109, 76, 199)
HSLhsl(256, 52%, 54%)
HSVhsv(256, 62%, 78%)
CMYKcmyk(45.2%, 61.8%, 0%, 22%)
CIE-LABlab(42.07, 43.07, -59.58)
CIE-LCHlch(42.07, 73.52, 305.86°)
OKLaboklab(51.89% 0.0655 -0.1702)
OKLCHoklch(51.89% 0.182 291)
XYZxyz(19.1970, 12.5430, 55.4313)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4CC7 #A6C74C
analogous
#4C69C7 #6D4CC7 #AB4CC7
triadic
#6D4CC7 #C76D4C #4CC76D
tetradic
#6D4CC7 #C74C69 #A6C74C #4CC7AB
square
#6D4CC7 #C74C69 #A6C74C #4CC7AB
split-complementary
#6D4CC7 #C7AB4C #69C74C
monochromatic
#3A2474 #5133A3 #6D4CC7 #937BD6 #B9A9E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D4CC7#FFFFFF#000000##FFFFFF
##6D4CC71.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)
#0065CB
Deuteranopia (green-blind)
#0061C4
Tritanopia (blue-blind)
#526882
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6d4cc7;
/* rgb */ color: rgb(109, 76, 199);
/* oklch */ color: oklch(51.9% 0.182 291.0);
Tailwind
colors: {
  custom: {
    50: '#9d80d9',
    500: '#6d4cc7',
    950: '#000000',
  },
}
SCSS
$custom: #6d4cc7;
$custom-light: #9d80d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4cc7",
  "rgb": {
    "r": 109,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 256.098,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5189,
    "c": 0.18239,
    "h": 291
  },
  "luminance": 0.12544
}

Semantic roles & 50–950 ramp

primary
#6D4CC7
secondary
#C4D29D
accent
#DC4CB5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6D4CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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