#6A5BE4#6A5BE4

#6A5BE4 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 56.2% C 0.200 H 282.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#6A5BE4
RGBrgb(106, 91, 228)
HSLhsl(247, 72%, 63%)
HSVhsv(247, 60%, 89%)
CMYKcmyk(53.5%, 60.1%, 0%, 10.6%)
CIE-LABlab(47.17, 42.37, -67.92)
CIE-LCHlch(47.17, 80.05, 301.96°)
OKLaboklab(56.21% 0.0444 -0.1948)
OKLCHoklch(56.21% 0.2 282.8)
XYZxyz(23.6842, 16.1464, 75.2523)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5BE4 #D5E45B
analogous
#5B91E4 #6A5BE4 #AE5BE4
triadic
#6A5BE4 #E46A5B #5BE46A
tetradic
#6A5BE4 #E45B91 #D5E45B #5BE4AE
square
#6A5BE4 #E45B91 #D5E45B #5BE4AE
split-complementary
#6A5BE4 #E4AE5B #91E45B
monochromatic
#2B1CA9 #3A26DB #6A5BE4 #9A90ED #C9C4F5

Accessibility & contrast

On white

4.97
#6A5BE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#6A5BE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5BE4
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5BE4#FFFFFF#000000##FFFFFF
##6A5BE41.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E8
Deuteranopia (green-blind)
#006BE1
Tritanopia (blue-blind)
#347C97
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6a5be4;
/* rgb */ color: rgb(106, 91, 228);
/* oklch */ color: oklch(56.2% 0.200 282.8);
Tailwind
colors: {
  custom: {
    50: '#9e8aed',
    500: '#6a5be4',
    950: '#000000',
  },
}
SCSS
$custom: #6a5be4;
$custom-light: #9e8aed;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5be4",
  "rgb": {
    "r": 106,
    "g": 91,
    "b": 228
  },
  "hsl": {
    "h": 246.569,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56212,
    "c": 0.1998,
    "h": 282.8
  },
  "luminance": 0.16148
}

Semantic roles & 50–950 ramp

primary
#6A5BE4
secondary
#E1E6B4
accent
#D412BF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6A5BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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