#6C4CE3#6C4CE3

#6C4CE3 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.0% C 0.217 H 286.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#6C4CE3
RGBrgb(108, 76, 227)
HSLhsl(253, 73%, 59%)
HSVhsv(253, 67%, 89%)
CMYKcmyk(52.4%, 66.5%, 0%, 11%)
CIE-LABlab(44.09, 50.88, -72.35)
CIE-LCHlch(44.09, 88.45, 305.12°)
OKLaboklab(54% 0.0612 -0.2078)
OKLCHoklch(54% 0.217 286.4)
XYZxyz(22.6298, 13.9019, 74.1491)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4CE3 #C3E34C
analogous
#4C78E3 #6C4CE3 #B74CE3
triadic
#6C4CE3 #E36C4C #4CE36C
tetradic
#6C4CE3 #E34C78 #C3E34C #4CE3B7
square
#6C4CE3 #E34C78 #C3E34C #4CE3B7
split-complementary
#6C4CE3 #E3B74C #78E34C
monochromatic
#34189C #4621D1 #6C4CE3 #9781EB #C3B6F4

Accessibility & contrast

On white

5.55
#6C4CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#6C4CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4CE3
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4CE3#FFFFFF#000000##FFFFFF
##6C4CE31.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE8
Deuteranopia (green-blind)
#0064E0
Tritanopia (blue-blind)
#3C7291
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6c4ce3;
/* rgb */ color: rgb(108, 76, 227);
/* oklch */ color: oklch(54.0% 0.217 286.4);
Tailwind
colors: {
  custom: {
    50: '#a080ed',
    500: '#6c4ce3',
    950: '#000000',
  },
}
SCSS
$custom: #6c4ce3;
$custom-light: #a080ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4ce3",
  "rgb": {
    "r": 108,
    "g": 76,
    "b": 227
  },
  "hsl": {
    "h": 252.715,
    "s": 72.947,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53997,
    "c": 0.21662,
    "h": 286.4
  },
  "luminance": 0.13903
}

Semantic roles & 50–950 ramp

primary
#6C4CE3
secondary
#D6E3A8
accent
#F038C9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6C4CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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