#6A5ABA#6A5ABA

#6A5ABA is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.1% C 0.146 H 288.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#6A5ABA
RGBrgb(106, 90, 186)
HSLhsl(250, 41%, 54%)
HSVhsv(250, 52%, 73%)
CMYKcmyk(43%, 51.6%, 0%, 27.1%)
CIE-LABlab(44.12, 30.42, -48.73)
CIE-LCHlch(44.12, 57.45, 301.98°)
OKLaboklab(53.06% 0.0451 -0.1384)
OKLCHoklch(53.06% 0.146 288.1)
XYZxyz(18.4604, 13.9210, 48.1592)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5ABA #AABA5A
analogous
#5A7ABA #6A5ABA #9A5ABA
triadic
#6A5ABA #BA6A5A #5ABA6A
tetradic
#6A5ABA #BA5A7A #AABA5A #5ABA9A
square
#6A5ABA #BA5A7A #AABA5A #5ABA9A
split-complementary
#6A5ABA #BA9A5A #7ABA5A
monochromatic
#382D6C #4E3F97 #6A5ABA #9185CC #B8B0DE

Accessibility & contrast

On white

5.55
#6A5ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#6A5ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5ABA
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5ABA#FFFFFF#000000##FFFFFF
##6A5ABA1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6BBD
Deuteranopia (green-blind)
#3066B8
Tritanopia (blue-blind)
#526E81
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6a5aba;
/* rgb */ color: rgb(106, 90, 186);
/* oklch */ color: oklch(53.1% 0.146 288.1);
Tailwind
colors: {
  custom: {
    50: '#9989cf',
    500: '#6a5aba',
    950: '#000000',
  },
}
SCSS
$custom: #6a5aba;
$custom-light: #9989cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5aba",
  "rgb": {
    "r": 106,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 250,
    "s": 41.026,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53062,
    "c": 0.14555,
    "h": 288.1
  },
  "luminance": 0.13922
}

Semantic roles & 50–950 ramp

primary
#6A5ABA
secondary
#C6CCA3
accent
#D157BD
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6A5ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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