#6A5AE4#6A5AE4

#6A5AE4 is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.0% C 0.201 H 283.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#6A5AE4
RGBrgb(106, 90, 228)
HSLhsl(247, 72%, 62%)
HSVhsv(247, 61%, 89%)
CMYKcmyk(53.5%, 60.5%, 0%, 10.6%)
CIE-LABlab(46.94, 42.95, -68.28)
CIE-LCHlch(46.94, 80.67, 302.17°)
OKLaboklab(56.05% 0.0454 -0.1959)
OKLCHoklch(56.05% 0.201 283)
XYZxyz(23.5993, 15.9766, 75.2240)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5AE4 #D4E45A
analogous
#5A8FE4 #6A5AE4 #AF5AE4
triadic
#6A5AE4 #E46A5A #5AE46A
tetradic
#6A5AE4 #E45A8F #D4E45A #5AE4AF
square
#6A5AE4 #E45A8F #D4E45A #5AE4AF
split-complementary
#6A5AE4 #E4AF5A #8FE45A
monochromatic
#2C1CA8 #3B25DB #6A5AE4 #998FED #C9C3F5

Accessibility & contrast

On white

5.01
#6A5AE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#6A5AE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5AE4
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5AE4#FFFFFF#000000##FFFFFF
##6A5AE41.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E8
Deuteranopia (green-blind)
#006BE1
Tritanopia (blue-blind)
#347B96
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6a5ae4;
/* rgb */ color: rgb(106, 90, 228);
/* oklch */ color: oklch(56.0% 0.201 283.0);
Tailwind
colors: {
  custom: {
    50: '#9e89ed',
    500: '#6a5ae4',
    950: '#000000',
  },
}
SCSS
$custom: #6a5ae4;
$custom-light: #9e89ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5ae4",
  "rgb": {
    "r": 106,
    "g": 90,
    "b": 228
  },
  "hsl": {
    "h": 246.957,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56049,
    "c": 0.20106,
    "h": 283
  },
  "luminance": 0.15978
}

Semantic roles & 50–950 ramp

primary
#6A5AE4
secondary
#E0E6B4
accent
#D412BD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6A5AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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