#6C2AC7#6C2AC7

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

Color values

HEX#6C2AC7
RGBrgb(108, 42, 199)
HSLhsl(265, 65%, 47%)
HSVhsv(265, 79%, 78%)
CMYKcmyk(45.7%, 78.9%, 0%, 22%)
CIE-LABlab(35.92, 59.66, -69.61)
CIE-LCHlch(35.92, 91.68, 310.60°)
OKLaboklab(47.49% 0.0956 -0.1996)
OKLCHoklch(47.49% 0.221 295.6)
XYZxyz(17.3183, 8.9671, 54.8401)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2AC7 #85C72A
analogous
#2A37C7 #6C2AC7 #BB2AC7
triadic
#6C2AC7 #C76C2A #2AC76C
tetradic
#6C2AC7 #C72A37 #85C72A #2AC7BB
square
#6C2AC7 #C72A37 #85C72A #2AC7BB
split-complementary
#6C2AC7 #C7BB2A #37C72A
monochromatic
#351562 #511F94 #6C2AC7 #8C53DB #AE86E5

Accessibility & contrast

On white

7.52
#6C2AC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6C2AC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2AC7
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2AC7#FFFFFF#000000##FFFFFF
##6C2AC71.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CB
Deuteranopia (green-blind)
#0052C4
Tritanopia (blue-blind)
#525679
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6c2ac7;
/* rgb */ color: rgb(108, 42, 199);
/* oklch */ color: oklch(47.5% 0.221 295.6);
Tailwind
colors: {
  custom: {
    50: '#9f6cd9',
    500: '#6c2ac7',
    950: '#000000',
  },
}
SCSS
$custom: #6c2ac7;
$custom-light: #9f6cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2ac7",
  "rgb": {
    "r": 108,
    "g": 42,
    "b": 199
  },
  "hsl": {
    "h": 265.223,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47485,
    "c": 0.2213,
    "h": 295.6
  },
  "luminance": 0.08968
}

Semantic roles & 50–950 ramp

primary
#6C2AC7
secondary
#ADCF7E
accent
#E840A1
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100715
muted
#7F7A83

Preview Lab

Preview with #6C2AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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