#6D4FC7#6D4FC7

#6D4FC7 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.4% C 0.178 H 290.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#6D4FC7
RGBrgb(109, 79, 199)
HSLhsl(255, 52%, 55%)
HSVhsv(255, 60%, 78%)
CMYKcmyk(45.2%, 60.3%, 0%, 22%)
CIE-LABlab(42.71, 41.37, -58.54)
CIE-LCHlch(42.71, 71.68, 305.25°)
OKLaboklab(52.36% 0.0622 -0.1672)
OKLCHoklch(52.36% 0.178 290.4)
XYZxyz(19.4086, 12.9660, 55.5018)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4FC7 #A9C74F
analogous
#4F6DC7 #6D4FC7 #A94FC7
triadic
#6D4FC7 #C76D4F #4FC76D
tetradic
#6D4FC7 #C74F6D #A9C74F #4FC7A9
square
#6D4FC7 #C74F6D #A9C74F #4FC7A9
split-complementary
#6D4FC7 #C7A94F #6DC74F
monochromatic
#3A2676 #5034A4 #6D4FC7 #947DD6 #BAACE5

Accessibility & contrast

On white

5.84
#6D4FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#6D4FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4FC7
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4FC7#FFFFFF#000000##FFFFFF
##6D4FC71.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#0062C4
Tritanopia (blue-blind)
#526A83
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6d4fc7;
/* rgb */ color: rgb(109, 79, 199);
/* oklch */ color: oklch(52.4% 0.178 290.4);
Tailwind
colors: {
  custom: {
    50: '#9d81d9',
    500: '#6d4fc7',
    950: '#000000',
  },
}
SCSS
$custom: #6d4fc7;
$custom-light: #9d81d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4fc7",
  "rgb": {
    "r": 109,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 255,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52361,
    "c": 0.17835,
    "h": 290.4
  },
  "luminance": 0.12967
}

Semantic roles & 50–950 ramp

primary
#6D4FC7
secondary
#C6D2A0
accent
#DB4DB8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6D4FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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