#6A5BF5#6A5BF5

#6A5BF5 is a mid, highly saturated blue. Relative luminance 0.171; OKLCH L 57.5% C 0.221 H 281.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#6A5BF5
RGBrgb(106, 91, 245)
HSLhsl(246, 89%, 66%)
HSVhsv(246, 63%, 96%)
CMYKcmyk(56.7%, 62.9%, 0%, 3.9%)
CIE-LABlab(48.43, 47.52, -75.42)
CIE-LCHlch(48.43, 89.14, 302.21°)
OKLaboklab(57.54% 0.0432 -0.2168)
OKLCHoklch(57.54% 0.221 281.3)
XYZxyz(26.1612, 17.1372, 88.2977)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5BF5 #E6F55B
analogous
#5B99F5 #6A5BF5 #B75BF5
triadic
#6A5BF5 #F56A5B #5BF56A
tetradic
#6A5BF5 #F55B99 #E6F55B #5BF5B7
square
#6A5BF5 #F55B99 #E6F55B #5BF5B7
split-complementary
#6A5BF5 #F5B75B #99F55B
monochromatic
#1F0CC9 #3621F1 #6A5BF5 #9E95F9 #D3CEFC

Accessibility & contrast

On white

4.74
#6A5BF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#6A5BF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5BF5
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5BF5#FFFFFF#000000##FFFFFF
##6A5BF51.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FA
Deuteranopia (green-blind)
#006DF2
Tritanopia (blue-blind)
#1981A0
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6a5bf5;
/* rgb */ color: rgb(106, 91, 245);
/* oklch */ color: oklch(57.5% 0.221 281.3);
Tailwind
colors: {
  custom: {
    50: '#a18afa',
    500: '#6a5bf5',
    950: '#000000',
  },
}
SCSS
$custom: #6a5bf5;
$custom-light: #a18afa;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5bf5",
  "rgb": {
    "r": 106,
    "g": 91,
    "b": 245
  },
  "hsl": {
    "h": 245.844,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.57535,
    "c": 0.22111,
    "h": 281.3
  },
  "luminance": 0.17139
}

Semantic roles & 50–950 ramp

primary
#6A5BF5
secondary
#EAEFBC
accent
#E500CF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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