#6C5AF5#6C5AF5

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

Color values

HEX#6C5AF5
RGBrgb(108, 90, 245)
HSLhsl(247, 89%, 66%)
HSVhsv(247, 63%, 96%)
CMYKcmyk(55.9%, 63.3%, 0%, 3.9%)
CIE-LABlab(48.38, 48.41, -75.50)
CIE-LCHlch(48.38, 89.69, 302.67°)
OKLaboklab(57.53% 0.0466 -0.217)
OKLCHoklch(57.53% 0.222 282.1)
XYZxyz(26.3168, 17.0914, 88.2807)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5AF5 #E3F55A
analogous
#5A95F5 #6C5AF5 #BA5AF5
triadic
#6C5AF5 #F56C5A #5AF56C
tetradic
#6C5AF5 #F55A95 #E3F55A #5AF5BA
square
#6C5AF5 #F55A95 #E3F55A #5AF5BA
split-complementary
#6C5AF5 #F5BA5A #95F55A
monochromatic
#220CC8 #3920F2 #6C5AF5 #9F94F8 #D3CDFC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C5AF5#FFFFFF#000000##FFFFFF
##6C5AF51.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)
#0078FA
Deuteranopia (green-blind)
#006DF2
Tritanopia (blue-blind)
#23819F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6c5af5;
/* rgb */ color: rgb(108, 90, 245);
/* oklch */ color: oklch(57.5% 0.222 282.1);
Tailwind
colors: {
  custom: {
    50: '#a28afa',
    500: '#6c5af5',
    950: '#000000',
  },
}
SCSS
$custom: #6c5af5;
$custom-light: #a28afa;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5af5",
  "rgb": {
    "r": 108,
    "g": 90,
    "b": 245
  },
  "hsl": {
    "h": 246.968,
    "s": 88.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.57532,
    "c": 0.22199,
    "h": 282.1
  },
  "luminance": 0.17093
}

Semantic roles & 50–950 ramp

primary
#6C5AF5
secondary
#E9EFBC
accent
#E500CB
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6C5AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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