#6A5ABB#6A5ABB

#6A5ABB is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.1% C 0.147 H 287.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#6A5ABB
RGBrgb(106, 90, 187)
HSLhsl(250, 42%, 54%)
HSVhsv(250, 52%, 73%)
CMYKcmyk(43.3%, 51.9%, 0%, 26.7%)
CIE-LABlab(44.18, 30.72, -49.21)
CIE-LCHlch(44.18, 58.01, 301.97°)
OKLaboklab(53.13% 0.0452 -0.1398)
OKLCHoklch(53.13% 0.147 287.9)
XYZxyz(18.5671, 13.9637, 48.7210)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5ABB #ABBB5A
analogous
#5A7BBB #6A5ABB #9B5ABB
triadic
#6A5ABB #BB6A5A #5ABB6A
tetradic
#6A5ABB #BB5A7B #ABBB5A #5ABB9B
square
#6A5ABB #BB5A7B #ABBB5A #5ABB9B
split-complementary
#6A5ABB #BB9B5A #7BBB5A
monochromatic
#382D6D #4E3F99 #6A5ABB #9185CD #B8B1DF

Accessibility & contrast

On white

5.54
#6A5ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#6A5ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5ABB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5ABB#FFFFFF#000000##FFFFFF
##6A5ABB1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6BBE
Deuteranopia (green-blind)
#2E66B9
Tritanopia (blue-blind)
#526E82
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6a5abb;
/* rgb */ color: rgb(106, 90, 187);
/* oklch */ color: oklch(53.1% 0.147 287.9);
Tailwind
colors: {
  custom: {
    50: '#9989d0',
    500: '#6a5abb',
    950: '#000000',
  },
}
SCSS
$custom: #6a5abb;
$custom-light: #9989d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5abb",
  "rgb": {
    "r": 106,
    "g": 90,
    "b": 187
  },
  "hsl": {
    "h": 249.897,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53128,
    "c": 0.14693,
    "h": 287.9
  },
  "luminance": 0.13964
}

Semantic roles & 50–950 ramp

primary
#6A5ABB
secondary
#C6CDA4
accent
#D156BD
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6A5ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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