#6C5DF4#6C5DF4

#6C5DF4 is a mid, highly saturated blue. Relative luminance 0.175; OKLCH L 57.9% C 0.217 H 281.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#6C5DF4
RGBrgb(108, 93, 244)
HSLhsl(246, 87%, 66%)
HSVhsv(246, 62%, 96%)
CMYKcmyk(55.7%, 61.9%, 0%, 4.3%)
CIE-LABlab(48.94, 46.40, -74.02)
CIE-LCHlch(48.94, 87.36, 302.08°)
OKLaboklab(57.92% 0.044 -0.2127)
OKLCHoklch(57.92% 0.217 281.7)
XYZxyz(26.4228, 17.5468, 87.5649)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5DF4 #E5F45D
analogous
#5D99F4 #6C5DF4 #B75DF4
triadic
#6C5DF4 #F46C5D #5DF46C
tetradic
#6C5DF4 #F45D99 #E5F45D #5DF4B7
square
#6C5DF4 #F45D99 #E5F45D #5DF4B7
split-complementary
#6C5DF4 #F4B75D #99F45D
monochromatic
#200EC9 #3824F0 #6C5DF4 #A096F8 #D4D0FC

Accessibility & contrast

On white

4.66
#6C5DF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#6C5DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5DF4
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5DF4#FFFFFF#000000##FFFFFF
##6C5DF41.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF9
Deuteranopia (green-blind)
#006FF1
Tritanopia (blue-blind)
#2582A0
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6c5df4;
/* rgb */ color: rgb(108, 93, 244);
/* oklch */ color: oklch(57.9% 0.217 281.7);
Tailwind
colors: {
  custom: {
    50: '#a28cf9',
    500: '#6c5df4',
    950: '#000000',
  },
}
SCSS
$custom: #6c5df4;
$custom-light: #a28cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5df4",
  "rgb": {
    "r": 108,
    "g": 93,
    "b": 244
  },
  "hsl": {
    "h": 245.96,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.57921,
    "c": 0.21719,
    "h": 281.7
  },
  "luminance": 0.17549
}

Semantic roles & 50–950 ramp

primary
#6C5DF4
secondary
#EAEFBE
accent
#E402CD
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6C5DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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