#6D5ABA#6D5ABA

#6D5ABA is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.3% C 0.145 H 289.6°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#6D5ABA
RGBrgb(109, 90, 186)
HSLhsl(252, 41%, 54%)
HSVhsv(252, 52%, 73%)
CMYKcmyk(41.4%, 51.6%, 0%, 27.1%)
CIE-LABlab(44.39, 31.15, -48.28)
CIE-LCHlch(44.39, 57.46, 302.83°)
OKLaboklab(53.33% 0.0489 -0.137)
OKLCHoklch(53.33% 0.145 289.6)
XYZxyz(18.8233, 14.1081, 48.1762)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D5ABA #A7BA5A
analogous
#5A77BA #6D5ABA #9D5ABA
triadic
#6D5ABA #BA6D5A #5ABA6D
tetradic
#6D5ABA #BA5A77 #A7BA5A #5ABA9D
square
#6D5ABA #BA5A77 #A7BA5A #5ABA9D
split-complementary
#6D5ABA #BA9D5A #77BA5A
monochromatic
#3A2D6C #513F97 #6D5ABA #9385CC #B9B0DE

Accessibility & contrast

On white

5.49
#6D5ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#6D5ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D5ABA
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D5ABA#FFFFFF#000000##FFFFFF
##6D5ABA1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316BBD
Deuteranopia (green-blind)
#3267B8
Tritanopia (blue-blind)
#576E81
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6d5aba;
/* rgb */ color: rgb(109, 90, 186);
/* oklch */ color: oklch(53.3% 0.145 289.6);
Tailwind
colors: {
  custom: {
    50: '#9b89cf',
    500: '#6d5aba',
    950: '#000000',
  },
}
SCSS
$custom: #6d5aba;
$custom-light: #9b89cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6d5aba",
  "rgb": {
    "r": 109,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 251.875,
    "s": 41.026,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53328,
    "c": 0.14547,
    "h": 289.6
  },
  "luminance": 0.14109
}

Semantic roles & 50–950 ramp

primary
#6D5ABA
secondary
#C4CCA3
accent
#D157B9
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6D5ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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