#6C4EEB#6C4EEB

#6C4EEB is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.9% C 0.224 H 285.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#6C4EEB
RGBrgb(108, 78, 235)
HSLhsl(251, 80%, 61%)
HSVhsv(251, 67%, 92%)
CMYKcmyk(54%, 66.8%, 0%, 7.8%)
CIE-LABlab(45.13, 52.10, -75.19)
CIE-LCHlch(45.13, 91.48, 304.72°)
OKLaboklab(54.94% 0.0583 -0.2161)
OKLCHoklch(54.94% 0.224 285.1)
XYZxyz(23.8996, 14.6337, 80.1464)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4EEB #CDEB4E
analogous
#4E7FEB #6C4EEB #BB4EEB
triadic
#6C4EEB #EB6C4E #4EEB6C
tetradic
#6C4EEB #EB4E7F #CDEB4E #4EEBBB
square
#6C4EEB #EB4E7F #CDEB4E #4EEBBB
split-complementary
#6C4EEB #EBBB4E #7FEB4E
monochromatic
#3013AB #401AE2 #6C4EEB #9A85F1 #C7BCF7

Accessibility & contrast

On white

5.35
#6C4EEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#6C4EEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4EEB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4EEB#FFFFFF#000000##FFFFFF
##6C4EEB1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF0
Deuteranopia (green-blind)
#0066E8
Tritanopia (blue-blind)
#347696
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6c4eeb;
/* rgb */ color: rgb(108, 78, 235);
/* oklch */ color: oklch(54.9% 0.224 285.1);
Tailwind
colors: {
  custom: {
    50: '#a182f3',
    500: '#6c4eeb',
    950: '#000000',
  },
}
SCSS
$custom: #6c4eeb;
$custom-light: #a182f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4eeb",
  "rgb": {
    "r": 108,
    "g": 78,
    "b": 235
  },
  "hsl": {
    "h": 251.465,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.5494,
    "c": 0.22384,
    "h": 285.1
  },
  "luminance": 0.14635
}

Semantic roles & 50–950 ramp

primary
#6C4EEB
secondary
#DDE8AD
accent
#DC09B4
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6C4EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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