#6A5AE8#6A5AE8

#6A5AE8 is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.4% C 0.206 H 282.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#6A5AE8
RGBrgb(106, 90, 232)
HSLhsl(247, 76%, 63%)
HSVhsv(247, 61%, 91%)
CMYKcmyk(54.3%, 61.2%, 0%, 9%)
CIE-LABlab(47.24, 44.16, -70.06)
CIE-LCHlch(47.24, 82.82, 302.22°)
OKLaboklab(56.36% 0.0451 -0.2011)
OKLCHoklch(56.36% 0.206 282.6)
XYZxyz(24.1610, 16.2012, 78.1823)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5AE8 #D8E85A
analogous
#5A91E8 #6A5AE8 #B15AE8
triadic
#6A5AE8 #E86A5A #5AE86A
tetradic
#6A5AE8 #E85A91 #D8E85A #5AE8B1
square
#6A5AE8 #E85A91 #D8E85A #5AE8B1
split-complementary
#6A5AE8 #E8B15A #91E85A
monochromatic
#2918AF #3924E1 #6A5AE8 #9B90EF #CBC5F7

Accessibility & contrast

On white

4.95
#6A5AE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#6A5AE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5AE8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5AE8#FFFFFF#000000##FFFFFF
##6A5AE81.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075ED
Deuteranopia (green-blind)
#006BE5
Tritanopia (blue-blind)
#2F7C99
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6a5ae8;
/* rgb */ color: rgb(106, 90, 232);
/* oklch */ color: oklch(56.4% 0.206 282.6);
Tailwind
colors: {
  custom: {
    50: '#9f89f0',
    500: '#6a5ae8',
    950: '#000000',
  },
}
SCSS
$custom: #6a5ae8;
$custom-light: #9f89f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5ae8",
  "rgb": {
    "r": 106,
    "g": 90,
    "b": 232
  },
  "hsl": {
    "h": 246.761,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56357,
    "c": 0.20612,
    "h": 282.6
  },
  "luminance": 0.16203
}

Semantic roles & 50–950 ramp

primary
#6A5AE8
secondary
#E3E8B5
accent
#D80EC1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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