#6A5BD5#6A5BD5

#6A5BD5 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 55.1% C 0.180 H 284.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#6A5BD5
RGBrgb(106, 91, 213)
HSLhsl(247, 59%, 60%)
HSVhsv(247, 57%, 84%)
CMYKcmyk(50.2%, 57.3%, 0%, 16.5%)
CIE-LABlab(46.11, 37.84, -61.11)
CIE-LCHlch(46.11, 71.88, 301.77°)
OKLaboklab(55.1% 0.0448 -0.1748)
OKLCHoklch(55.1% 0.18 284.4)
XYZxyz(21.6916, 15.3493, 64.7576)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5BD5 #C6D55B
analogous
#5B89D5 #6A5BD5 #A75BD5
triadic
#6A5BD5 #D56A5B #5BD56A
tetradic
#6A5BD5 #D55B89 #C6D55B #5BD5A7
square
#6A5BD5 #D55B89 #C6D55B #5BD5A7
split-complementary
#6A5BD5 #D5A75B #89D55B
monochromatic
#322591 #4332C1 #6A5BD5 #968CE1 #C3BCEE

Accessibility & contrast

On white

5.16
#6A5BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#6A5BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5BD5
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5BD5#FFFFFF#000000##FFFFFF
##6A5BD51.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#0069D2
Tritanopia (blue-blind)
#42778F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6a5bd5;
/* rgb */ color: rgb(106, 91, 213);
/* oklch */ color: oklch(55.1% 0.180 284.4);
Tailwind
colors: {
  custom: {
    50: '#9c8ae3',
    500: '#6a5bd5',
    950: '#000000',
  },
}
SCSS
$custom: #6a5bd5;
$custom-light: #9c8ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5bd5",
  "rgb": {
    "r": 106,
    "g": 91,
    "b": 213
  },
  "hsl": {
    "h": 247.377,
    "s": 59.223,
    "l": 59.608
  },
  "oklch": {
    "l": 0.551,
    "c": 0.18043,
    "h": 284.4
  },
  "luminance": 0.1535
}

Semantic roles & 50–950 ramp

primary
#6A5BD5
secondary
#D8DEAE
accent
#E245CF
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#0F0C15
muted
#7F7D84

Preview Lab

Preview with #6A5BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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