#6C4DEB#6C4DEB

#6C4DEB is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.8% C 0.225 H 285.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#6C4DEB
RGBrgb(108, 77, 235)
HSLhsl(252, 80%, 61%)
HSVhsv(252, 67%, 92%)
CMYKcmyk(54%, 67.2%, 0%, 7.8%)
CIE-LABlab(44.93, 52.64, -75.51)
CIE-LCHlch(44.93, 92.05, 304.88°)
OKLaboklab(54.8% 0.0591 -0.2171)
OKLCHoklch(54.8% 0.225 285.2)
XYZxyz(23.8291, 14.4927, 80.1229)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4DEB #CCEB4D
analogous
#4D7DEB #6C4DEB #BB4DEB
triadic
#6C4DEB #EB6C4D #4DEB6C
tetradic
#6C4DEB #EB4D7D #CCEB4D #4DEBBB
square
#6C4DEB #EB4D7D #CCEB4D #4DEBBB
split-complementary
#6C4DEB #EBBB4D #7DEB4D
monochromatic
#3113AA #4119E1 #6C4DEB #9984F1 #C7BBF7

Accessibility & contrast

On white

5.39
#6C4DEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#6C4DEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4DEB
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4DEB#FFFFFF#000000##FFFFFF
##6C4DEB1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c4deb;
/* rgb */ color: rgb(108, 77, 235);
/* oklch */ color: oklch(54.8% 0.225 285.2);
Tailwind
colors: {
  custom: {
    50: '#a181f3',
    500: '#6c4deb',
    950: '#000000',
  },
}
SCSS
$custom: #6c4deb;
$custom-light: #a181f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4deb",
  "rgb": {
    "r": 108,
    "g": 77,
    "b": 235
  },
  "hsl": {
    "h": 251.772,
    "s": 79.798,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54799,
    "c": 0.22498,
    "h": 285.2
  },
  "luminance": 0.14494
}

Semantic roles & 50–950 ramp

primary
#6C4DEB
secondary
#DCE8AC
accent
#DC09B3
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6C4DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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