#6A5BBC#6A5BBC

#6A5BBC is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.4% C 0.147 H 287.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#6A5BBC
RGBrgb(106, 91, 188)
HSLhsl(249, 42%, 55%)
HSVhsv(249, 52%, 74%)
CMYKcmyk(43.6%, 51.6%, 0%, 26.3%)
CIE-LABlab(44.48, 30.40, -49.31)
CIE-LCHlch(44.48, 57.93, 301.66°)
OKLaboklab(53.37% 0.044 -0.1401)
OKLCHoklch(53.37% 0.147 287.4)
XYZxyz(18.7595, 14.1765, 49.3151)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5BBC #ADBC5B
analogous
#5B7DBC #6A5BBC #9A5BBC
triadic
#6A5BBC #BC6A5B #5BBC6A
tetradic
#6A5BBC #BC5B7D #ADBC5B #5BBC9A
square
#6A5BBC #BC5B7D #ADBC5B #5BBC9A
split-complementary
#6A5BBC #BC9A5B #7DBC5B
monochromatic
#382D6F #4D3F9B #6A5BBC #9186CE #B9B2E0

Accessibility & contrast

On white

5.48
#6A5BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#6A5BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5BBC
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5BBC#FFFFFF#000000##FFFFFF
##6A5BBC1.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306CBF
Deuteranopia (green-blind)
#2F67BA
Tritanopia (blue-blind)
#516F83
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6a5bbc;
/* rgb */ color: rgb(106, 91, 188);
/* oklch */ color: oklch(53.4% 0.147 287.4);
Tailwind
colors: {
  custom: {
    50: '#9989d1',
    500: '#6a5bbc',
    950: '#000000',
  },
}
SCSS
$custom: #6a5bbc;
$custom-light: #9989d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5bbc",
  "rgb": {
    "r": 106,
    "g": 91,
    "b": 188
  },
  "hsl": {
    "h": 249.278,
    "s": 41.991,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53375,
    "c": 0.14683,
    "h": 287.4
  },
  "luminance": 0.14177
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A5BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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