#6C5AF7#6C5AF7

#6C5AF7 is a mid, highly saturated blue. Relative luminance 0.172; OKLCH L 57.7% C 0.224 H 281.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#6C5AF7
RGBrgb(108, 90, 247)
HSLhsl(247, 91%, 66%)
HSVhsv(247, 64%, 97%)
CMYKcmyk(56.3%, 63.6%, 0%, 3.1%)
CIE-LABlab(48.53, 49.01, -76.37)
CIE-LCHlch(48.53, 90.74, 302.69°)
OKLaboklab(57.69% 0.0464 -0.2196)
OKLCHoklch(57.69% 0.224 281.9)
XYZxyz(26.6238, 17.2142, 89.8974)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5AF7 #E5F75A
analogous
#5A96F7 #6C5AF7 #BA5AF7
triadic
#6C5AF7 #F76C5A #5AF76C
tetradic
#6C5AF7 #F75A96 #E5F75A #5AF7BA
square
#6C5AF7 #F75A96 #E5F75A #5AF7BA
split-complementary
#6C5AF7 #F7BA5A #96F75A
monochromatic
#200ACD #3820F4 #6C5AF7 #A094FA #D4CFFD

Accessibility & contrast

On white

4.73
#6C5AF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#6C5AF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5AF7
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5AF7#FFFFFF#000000##FFFFFF
##6C5AF71.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FC
Deuteranopia (green-blind)
#006EF4
Tritanopia (blue-blind)
#2081A1
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6c5af7;
/* rgb */ color: rgb(108, 90, 247);
/* oklch */ color: oklch(57.7% 0.224 281.9);
Tailwind
colors: {
  custom: {
    50: '#a28afb',
    500: '#6c5af7',
    950: '#000000',
  },
}
SCSS
$custom: #6c5af7;
$custom-light: #a28afb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5af7",
  "rgb": {
    "r": 108,
    "g": 90,
    "b": 247
  },
  "hsl": {
    "h": 246.879,
    "s": 90.751,
    "l": 66.078
  },
  "oklch": {
    "l": 0.57691,
    "c": 0.22444,
    "h": 281.9
  },
  "luminance": 0.17216
}

Semantic roles & 50–950 ramp

primary
#6C5AF7
secondary
#EAF0BD
accent
#E600CB
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #6C5AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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