#6C5ABE#6C5ABE

#6C5ABE is a mid, vivid violet. Relative luminance 0.142; OKLCH L 53.5% C 0.151 H 288.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#6C5ABE
RGBrgb(108, 90, 190)
HSLhsl(251, 43%, 55%)
HSVhsv(251, 53%, 75%)
CMYKcmyk(43.2%, 52.6%, 0%, 25.5%)
CIE-LABlab(44.54, 32.07, -50.37)
CIE-LCHlch(44.54, 59.71, 302.48°)
OKLaboklab(53.5% 0.0479 -0.1431)
OKLCHoklch(53.5% 0.151 288.5)
XYZxyz(19.1322, 14.2175, 50.4414)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5ABE #ACBE5A
analogous
#5A7ABE #6C5ABE #9E5ABE
triadic
#6C5ABE #BE6C5A #5ABE6C
tetradic
#6C5ABE #BE5A7A #ACBE5A #5ABE9E
square
#6C5ABE #BE5A7A #ACBE5A #5ABE9E
split-complementary
#6C5ABE #BE9E5A #7ABE5A
monochromatic
#392D71 #4F3E9D #6C5ABE #9386CF #BAB2E1

Accessibility & contrast

On white

5.46
#6C5ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#6C5ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5ABE
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5ABE#FFFFFF#000000##FFFFFF
##6C5ABE1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6CC1
Deuteranopia (green-blind)
#2C67BC
Tritanopia (blue-blind)
#546F83
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6c5abe;
/* rgb */ color: rgb(108, 90, 190);
/* oklch */ color: oklch(53.5% 0.151 288.5);
Tailwind
colors: {
  custom: {
    50: '#9b89d2',
    500: '#6c5abe',
    950: '#000000',
  },
}
SCSS
$custom: #6c5abe;
$custom-light: #9b89d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5abe",
  "rgb": {
    "r": 108,
    "g": 90,
    "b": 190
  },
  "hsl": {
    "h": 250.8,
    "s": 43.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53501,
    "c": 0.15094,
    "h": 288.5
  },
  "luminance": 0.14218
}

Semantic roles & 50–950 ramp

primary
#6C5ABE
secondary
#C7CFA5
accent
#D355BC
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #6C5ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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