#6A5AF7#6A5AF7

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

Color values

HEX#6A5AF7
RGBrgb(106, 90, 247)
HSLhsl(246, 91%, 66%)
HSVhsv(246, 64%, 97%)
CMYKcmyk(57.1%, 63.6%, 0%, 3.1%)
CIE-LABlab(48.37, 48.69, -76.63)
CIE-LCHlch(48.37, 90.79, 302.43°)
OKLaboklab(57.54% 0.0439 -0.2204)
OKLCHoklch(57.54% 0.225 281.3)
XYZxyz(26.3833, 17.0901, 89.8861)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5AF7 #E7F75A
analogous
#5A98F7 #6A5AF7 #B85AF7
triadic
#6A5AF7 #F76A5A #5AF76A
tetradic
#6A5AF7 #F75A98 #E7F75A #5AF7B8
square
#6A5AF7 #F75A98 #E7F75A #5AF7B8
split-complementary
#6A5AF7 #F7B85A #98F75A
monochromatic
#1E0ACD #3520F4 #6A5AF7 #9F94FA #D3CFFD

Accessibility & contrast

On white

4.75
#6A5AF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#6A5AF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5AF7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5AF7#FFFFFF#000000##FFFFFF
##6A5AF71.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FC
Deuteranopia (green-blind)
#006DF4
Tritanopia (blue-blind)
#1481A1
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6a5af7;
/* rgb */ color: rgb(106, 90, 247);
/* oklch */ color: oklch(57.5% 0.225 281.3);
Tailwind
colors: {
  custom: {
    50: '#a18afb',
    500: '#6a5af7',
    950: '#000000',
  },
}
SCSS
$custom: #6a5af7;
$custom-light: #a18afb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5af7",
  "rgb": {
    "r": 106,
    "g": 90,
    "b": 247
  },
  "hsl": {
    "h": 246.115,
    "s": 90.751,
    "l": 66.078
  },
  "oklch": {
    "l": 0.5754,
    "c": 0.22475,
    "h": 281.3
  },
  "luminance": 0.17092
}

Semantic roles & 50–950 ramp

primary
#6A5AF7
secondary
#EBF0BD
accent
#E600CE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #6A5AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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