#6A5AE3#6A5AE3

#6A5AE3 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 56.0% C 0.200 H 283.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#6A5AE3
RGBrgb(106, 90, 227)
HSLhsl(247, 71%, 62%)
HSVhsv(247, 60%, 89%)
CMYKcmyk(53.3%, 60.4%, 0%, 11%)
CIE-LABlab(46.87, 42.65, -67.83)
CIE-LCHlch(46.87, 80.13, 302.16°)
OKLaboklab(55.97% 0.0454 -0.1946)
OKLCHoklch(55.97% 0.2 283.1)
XYZxyz(23.4609, 15.9212, 74.4950)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5AE3 #D3E35A
analogous
#5A8FE3 #6A5AE3 #AE5AE3
triadic
#6A5AE3 #E36A5A #5AE36A
tetradic
#6A5AE3 #E35A8F #D3E35A #5AE3AE
square
#6A5AE3 #E35A8F #D3E35A #5AE3AE
split-complementary
#6A5AE3 #E3AE5A #8FE35A
monochromatic
#2C1CA6 #3B26DA #6A5AE3 #998EEC #C8C3F5

Accessibility & contrast

On white

5.02
#6A5AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#6A5AE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5AE3
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5AE3#FFFFFF#000000##FFFFFF
##6A5AE31.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E7
Deuteranopia (green-blind)
#006AE0
Tritanopia (blue-blind)
#357B96
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6a5ae3;
/* rgb */ color: rgb(106, 90, 227);
/* oklch */ color: oklch(56.0% 0.200 283.1);
Tailwind
colors: {
  custom: {
    50: '#9e89ed',
    500: '#6a5ae3',
    950: '#000000',
  },
}
SCSS
$custom: #6a5ae3;
$custom-light: #9e89ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5ae3",
  "rgb": {
    "r": 106,
    "g": 90,
    "b": 227
  },
  "hsl": {
    "h": 247.007,
    "s": 70.984,
    "l": 62.157
  },
  "oklch": {
    "l": 0.55973,
    "c": 0.19979,
    "h": 283.1
  },
  "luminance": 0.15923
}

Semantic roles & 50–950 ramp

primary
#6A5AE3
secondary
#E0E6B3
accent
#D312BD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6A5AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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