#6A5ABC#6A5ABC

#6A5ABC is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.2% C 0.148 H 287.8°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#6A5ABC
RGBrgb(106, 90, 188)
HSLhsl(250, 42%, 55%)
HSVhsv(250, 52%, 74%)
CMYKcmyk(43.6%, 52.1%, 0%, 26.3%)
CIE-LABlab(44.24, 31.01, -49.70)
CIE-LCHlch(44.24, 58.58, 301.96°)
OKLaboklab(53.19% 0.0453 -0.1412)
OKLCHoklch(53.19% 0.148 287.8)
XYZxyz(18.6745, 14.0066, 49.2868)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5ABC #ACBC5A
analogous
#5A7BBC #6A5ABC #9B5ABC
triadic
#6A5ABC #BC6A5A #5ABC6A
tetradic
#6A5ABC #BC5A7B #ACBC5A #5ABC9B
square
#6A5ABC #BC5A7B #ACBC5A #5ABC9B
split-complementary
#6A5ABC #BC9B5A #7BBC5A
monochromatic
#382D6F #4E3F9A #6A5ABC #9186CE #B9B1DF

Accessibility & contrast

On white

5.52
#6A5ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#6A5ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5ABC
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5ABC#FFFFFF#000000##FFFFFF
##6A5ABC1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6BBF
Deuteranopia (green-blind)
#2D66BA
Tritanopia (blue-blind)
#516F82
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6a5abc;
/* rgb */ color: rgb(106, 90, 188);
/* oklch */ color: oklch(53.2% 0.148 287.8);
Tailwind
colors: {
  custom: {
    50: '#9989d1',
    500: '#6a5abc',
    950: '#000000',
  },
}
SCSS
$custom: #6a5abc;
$custom-light: #9989d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5abc",
  "rgb": {
    "r": 106,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 249.796,
    "s": 42.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53194,
    "c": 0.1483,
    "h": 287.8
  },
  "luminance": 0.14007
}

Semantic roles & 50–950 ramp

primary
#6A5ABC
secondary
#C7CEA4
accent
#D256BE
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6A5ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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