#6A5AC7#6A5AC7

#6A5AC7 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.9% C 0.163 H 286.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#6A5AC7
RGBrgb(106, 90, 199)
HSLhsl(249, 49%, 57%)
HSVhsv(249, 55%, 78%)
CMYKcmyk(46.7%, 54.8%, 0%, 22%)
CIE-LABlab(44.94, 34.25, -54.95)
CIE-LCHlch(44.94, 64.75, 301.94°)
OKLaboklab(53.94% 0.0458 -0.1567)
OKLCHoklch(53.94% 0.163 286.3)
XYZxyz(19.9058, 14.4992, 55.7715)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5AC7 #B7C75A
analogous
#5A81C7 #6A5AC7 #A15AC7
triadic
#6A5AC7 #C76A5A #5AC76A
tetradic
#6A5AC7 #C75A81 #B7C75A #5AC7A1
square
#6A5AC7 #C75A81 #B7C75A #5AC7A1
split-complementary
#6A5AC7 #C7A15A #81C75A
monochromatic
#362A7C #4A3AAA #6A5AC7 #9388D7 #BDB5E6

Accessibility & contrast

On white

5.38
#6A5AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#6A5AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5AC7
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5AC7#FFFFFF#000000##FFFFFF
##6A5AC71.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6DCB
Deuteranopia (green-blind)
#1B67C5
Tritanopia (blue-blind)
#4B7288
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6a5ac7;
/* rgb */ color: rgb(106, 90, 199);
/* oklch */ color: oklch(53.9% 0.163 286.3);
Tailwind
colors: {
  custom: {
    50: '#9b89d9',
    500: '#6a5ac7',
    950: '#000000',
  },
}
SCSS
$custom: #6a5ac7;
$custom-light: #9b89d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5ac7",
  "rgb": {
    "r": 106,
    "g": 90,
    "b": 199
  },
  "hsl": {
    "h": 248.807,
    "s": 49.321,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53937,
    "c": 0.16322,
    "h": 286.3
  },
  "luminance": 0.145
}

Semantic roles & 50–950 ramp

primary
#6A5AC7
secondary
#CED5A8
accent
#D94FC5
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0F0B15
muted
#7E7C83

Preview Lab

Preview with #6A5AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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