#6C3FAE#6C3FAE

#6C3FAE is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.0% C 0.169 H 298.4°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#6C3FAE
RGBrgb(108, 63, 174)
HSLhsl(264, 47%, 46%)
HSVhsv(264, 64%, 68%)
CMYKcmyk(37.9%, 63.8%, 0%, 31.8%)
CIE-LABlab(37.48, 43.24, -52.34)
CIE-LCHlch(37.48, 67.89, 309.56°)
OKLaboklab(47.97% 0.0806 -0.149)
OKLCHoklch(47.97% 0.169 298.4)
XYZxyz(15.5999, 9.7989, 41.1057)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3FAE #81AE3F
analogous
#3F4AAE #6C3FAE #A43FAE
triadic
#6C3FAE #AE6C3F #3FAE6C
tetradic
#6C3FAE #AE3F4A #81AE3F #3FAEA4
square
#6C3FAE #AE3F4A #81AE3F #3FAEA4
split-complementary
#6C3FAE #AEA43F #4AAE3F
monochromatic
#341E54 #502F81 #6C3FAE #8C64C7 #AD90D7

Accessibility & contrast

On white

7.10
#6C3FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#6C3FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3FAE
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3FAE#FFFFFF#000000##FFFFFF
##6C3FAE1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#0557AC
Tritanopia (blue-blind)
#5D5871
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6c3fae;
/* rgb */ color: rgb(108, 63, 174);
/* oklch */ color: oklch(48.0% 0.169 298.4);
Tailwind
colors: {
  custom: {
    50: '#9b77c7',
    500: '#6c3fae',
    950: '#000000',
  },
}
SCSS
$custom: #6c3fae;
$custom-light: #9b77c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3fae",
  "rgb": {
    "r": 108,
    "g": 63,
    "b": 174
  },
  "hsl": {
    "h": 264.324,
    "s": 46.835,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47969,
    "c": 0.16939,
    "h": 298.4
  },
  "luminance": 0.09799
}

Semantic roles & 50–950 ramp

primary
#6C3FAE
secondary
#AAC287
accent
#D651A0
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0913
muted
#7E7B82

Preview Lab

Preview with #6C3FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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