#6C5AF4#6C5AF4

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

Color values

HEX#6C5AF4
RGBrgb(108, 90, 244)
HSLhsl(247, 88%, 65%)
HSVhsv(247, 63%, 96%)
CMYKcmyk(55.7%, 63.1%, 0%, 4.3%)
CIE-LABlab(48.30, 48.11, -75.07)
CIE-LCHlch(48.30, 89.16, 302.66°)
OKLaboklab(57.45% 0.0467 -0.2158)
OKLCHoklch(57.45% 0.221 282.2)
XYZxyz(26.1646, 17.0305, 87.4789)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5AF4 #E2F45A
analogous
#5A95F4 #6C5AF4 #B95AF4
triadic
#6C5AF4 #F46C5A #5AF46C
tetradic
#6C5AF4 #F45A95 #E2F45A #5AF4B9
square
#6C5AF4 #F45A95 #E2F45A #5AF4B9
split-complementary
#6C5AF4 #F4B95A #95F45A
monochromatic
#230DC6 #3921F0 #6C5AF4 #9F93F8 #D2CDFC

Accessibility & contrast

On white

4.77
#6C5AF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#6C5AF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5AF4
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5AF4#FFFFFF#000000##FFFFFF
##6C5AF41.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F9
Deuteranopia (green-blind)
#006DF1
Tritanopia (blue-blind)
#25809F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6c5af4;
/* rgb */ color: rgb(108, 90, 244);
/* oklch */ color: oklch(57.5% 0.221 282.2);
Tailwind
colors: {
  custom: {
    50: '#a28af9',
    500: '#6c5af4',
    950: '#000000',
  },
}
SCSS
$custom: #6c5af4;
$custom-light: #a28af9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5af4",
  "rgb": {
    "r": 108,
    "g": 90,
    "b": 244
  },
  "hsl": {
    "h": 247.013,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.57452,
    "c": 0.22077,
    "h": 282.2
  },
  "luminance": 0.17032
}

Semantic roles & 50–950 ramp

primary
#6C5AF4
secondary
#E9EFBB
accent
#E401CA
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6C5AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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