#6C5AF3#6C5AF3

#6C5AF3 is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.4% C 0.220 H 282.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#6C5AF3
RGBrgb(108, 90, 243)
HSLhsl(247, 86%, 65%)
HSVhsv(247, 63%, 95%)
CMYKcmyk(55.6%, 63%, 0%, 4.7%)
CIE-LABlab(48.22, 47.81, -74.63)
CIE-LCHlch(48.22, 88.63, 302.64°)
OKLaboklab(57.37% 0.0468 -0.2145)
OKLCHoklch(57.37% 0.22 282.3)
XYZxyz(26.0132, 16.9699, 86.6814)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5AF3 #E1F35A
analogous
#5A94F3 #6C5AF3 #B95AF3
triadic
#6C5AF3 #F36C5A #5AF36C
tetradic
#6C5AF3 #F35A94 #E1F35A #5AF3B9
square
#6C5AF3 #F35A94 #E1F35A #5AF3B9
split-complementary
#6C5AF3 #F3B95A #94F35A
monochromatic
#240EC4 #3921EF #6C5AF3 #9F93F7 #D2CCFB

Accessibility & contrast

On white

4.78
#6C5AF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#6C5AF3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5AF3
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5AF3#FFFFFF#000000##FFFFFF
##6C5AF31.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F8
Deuteranopia (green-blind)
#006DF0
Tritanopia (blue-blind)
#27809E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6c5af3;
/* rgb */ color: rgb(108, 90, 243);
/* oklch */ color: oklch(57.4% 0.220 282.3);
Tailwind
colors: {
  custom: {
    50: '#a28af8',
    500: '#6c5af3',
    950: '#000000',
  },
}
SCSS
$custom: #6c5af3;
$custom-light: #a28af8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5af3",
  "rgb": {
    "r": 108,
    "g": 90,
    "b": 243
  },
  "hsl": {
    "h": 247.059,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.57373,
    "c": 0.21954,
    "h": 282.3
  },
  "luminance": 0.16972
}

Semantic roles & 50–950 ramp

primary
#6C5AF3
secondary
#E8EEBB
accent
#E303C9
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6C5AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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