#6A5ABD#6A5ABD

#6A5ABD is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.3% C 0.150 H 287.6°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#6A5ABD
RGBrgb(106, 90, 189)
HSLhsl(250, 43%, 55%)
HSVhsv(250, 52%, 74%)
CMYKcmyk(43.9%, 52.4%, 0%, 25.9%)
CIE-LABlab(44.30, 31.30, -50.18)
CIE-LCHlch(44.30, 59.14, 301.96°)
OKLaboklab(53.26% 0.0453 -0.1426)
OKLCHoklch(53.26% 0.15 287.6)
XYZxyz(18.7827, 14.0499, 49.8565)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5ABD #ADBD5A
analogous
#5A7CBD #6A5ABD #9C5ABD
triadic
#6A5ABD #BD6A5A #5ABD6A
tetradic
#6A5ABD #BD5A7C #ADBD5A #5ABD9C
square
#6A5ABD #BD5A7C #ADBD5A #5ABD9C
split-complementary
#6A5ABD #BD9C5A #7CBD5A
monochromatic
#382D70 #4D3E9C #6A5ABD #9186CE #B9B1E0

Accessibility & contrast

On white

5.51
#6A5ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#6A5ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5ABD
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5ABD#FFFFFF#000000##FFFFFF
##6A5ABD1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6BC0
Deuteranopia (green-blind)
#2C66BB
Tritanopia (blue-blind)
#516F83
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6a5abd;
/* rgb */ color: rgb(106, 90, 189);
/* oklch */ color: oklch(53.3% 0.150 287.6);
Tailwind
colors: {
  custom: {
    50: '#9989d1',
    500: '#6a5abd',
    950: '#000000',
  },
}
SCSS
$custom: #6a5abd;
$custom-light: #9989d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5abd",
  "rgb": {
    "r": 106,
    "g": 90,
    "b": 189
  },
  "hsl": {
    "h": 249.697,
    "s": 42.857,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5326,
    "c": 0.14967,
    "h": 287.6
  },
  "luminance": 0.14051
}

Semantic roles & 50–950 ramp

primary
#6A5ABD
secondary
#C8CEA5
accent
#D355BE
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6A5ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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