#6D4DEB#6D4DEB

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

Color values

HEX#6D4DEB
RGBrgb(109, 77, 235)
HSLhsl(252, 80%, 61%)
HSVhsv(252, 67%, 92%)
CMYKcmyk(53.6%, 67.2%, 0%, 7.8%)
CIE-LABlab(45.02, 52.80, -75.36)
CIE-LCHlch(45.02, 92.02, 305.02°)
OKLaboklab(54.88% 0.0605 -0.2166)
OKLCHoklch(54.88% 0.225 285.6)
XYZxyz(23.9514, 14.5558, 80.1286)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4DEB #CBEB4D
analogous
#4D7CEB #6D4DEB #BC4DEB
triadic
#6D4DEB #EB6D4D #4DEB6D
tetradic
#6D4DEB #EB4D7C #CBEB4D #4DEBBC
square
#6D4DEB #EB4D7C #CBEB4D #4DEBBC
split-complementary
#6D4DEB #EBBC4D #7CEB4D
monochromatic
#3213AA #4219E1 #6D4DEB #9A84F1 #C7BBF7

Accessibility & contrast

On white

5.37
#6D4DEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#6D4DEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4DEB
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4DEB#FFFFFF#000000##FFFFFF
##6D4DEB1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d4deb;
/* rgb */ color: rgb(109, 77, 235);
/* oklch */ color: oklch(54.9% 0.225 285.6);
Tailwind
colors: {
  custom: {
    50: '#a281f3',
    500: '#6d4deb',
    950: '#000000',
  },
}
SCSS
$custom: #6d4deb;
$custom-light: #a281f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4deb",
  "rgb": {
    "r": 109,
    "g": 77,
    "b": 235
  },
  "hsl": {
    "h": 252.152,
    "s": 79.798,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54884,
    "c": 0.22488,
    "h": 285.6
  },
  "luminance": 0.14557
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D4DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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