#6D2AC7#6D2AC7

#6D2AC7 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.6% C 0.221 H 296.0°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#6D2AC7
RGBrgb(109, 42, 199)
HSLhsl(266, 65%, 47%)
HSVhsv(266, 79%, 78%)
CMYKcmyk(45.2%, 78.9%, 0%, 22%)
CIE-LABlab(36.04, 59.81, -69.40)
CIE-LCHlch(36.04, 91.62, 310.75°)
OKLaboklab(47.6% 0.0971 -0.1989)
OKLCHoklch(47.6% 0.221 296)
XYZxyz(17.4407, 9.0302, 54.8459)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2AC7 #84C72A
analogous
#2A36C7 #6D2AC7 #BB2AC7
triadic
#6D2AC7 #C76D2A #2AC76D
tetradic
#6D2AC7 #C72A36 #84C72A #2AC7BB
square
#6D2AC7 #C72A36 #84C72A #2AC7BB
split-complementary
#6D2AC7 #C7BB2A #36C72A
monochromatic
#361562 #511F94 #6D2AC7 #8D53DB #AF86E5

Accessibility & contrast

On white

7.48
#6D2AC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6D2AC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2AC7
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2AC7#FFFFFF#000000##FFFFFF
##6D2AC71.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CB
Deuteranopia (green-blind)
#0053C4
Tritanopia (blue-blind)
#545679
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6d2ac7;
/* rgb */ color: rgb(109, 42, 199);
/* oklch */ color: oklch(47.6% 0.221 296.0);
Tailwind
colors: {
  custom: {
    50: '#9f6cd9',
    500: '#6d2ac7',
    950: '#000000',
  },
}
SCSS
$custom: #6d2ac7;
$custom-light: #9f6cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2ac7",
  "rgb": {
    "r": 109,
    "g": 42,
    "b": 199
  },
  "hsl": {
    "h": 265.605,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47597,
    "c": 0.22138,
    "h": 296
  },
  "luminance": 0.09031
}

Semantic roles & 50–950 ramp

primary
#6D2AC7
secondary
#ACCF7E
accent
#E840A0
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100715
muted
#7F7A83

Preview Lab

Preview with #6D2AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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