#6C5BF7#6C5BF7

#6C5BF7 is a mid, highly saturated blue. Relative luminance 0.174; OKLCH L 57.8% C 0.223 H 281.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#6C5BF7
RGBrgb(108, 91, 247)
HSLhsl(247, 91%, 66%)
HSVhsv(247, 63%, 97%)
CMYKcmyk(56.3%, 63.2%, 0%, 3.1%)
CIE-LABlab(48.74, 48.44, -76.02)
CIE-LCHlch(48.74, 90.15, 302.51°)
OKLaboklab(57.85% 0.0456 -0.2186)
OKLCHoklch(57.85% 0.223 281.8)
XYZxyz(26.7087, 17.3840, 89.9257)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5BF7 #E6F75B
analogous
#5B98F7 #6C5BF7 #BA5BF7
triadic
#6C5BF7 #F76C5B #5BF76C
tetradic
#6C5BF7 #F75B98 #E6F75B #5BF7BA
square
#6C5BF7 #F75B98 #E6F75B #5BF7BA
split-complementary
#6C5BF7 #F7BA5B #98F75B
monochromatic
#1F0ACE #3821F4 #6C5BF7 #A095FA #D5D0FD

Accessibility & contrast

On white

4.69
#6C5BF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#6C5BF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5BF7
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5BF7#FFFFFF#000000##FFFFFF
##6C5BF71.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FC
Deuteranopia (green-blind)
#006EF4
Tritanopia (blue-blind)
#1F82A1
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6c5bf7;
/* rgb */ color: rgb(108, 91, 247);
/* oklch */ color: oklch(57.8% 0.223 281.8);
Tailwind
colors: {
  custom: {
    50: '#a28afb',
    500: '#6c5bf7',
    950: '#000000',
  },
}
SCSS
$custom: #6c5bf7;
$custom-light: #a28afb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5bf7",
  "rgb": {
    "r": 108,
    "g": 91,
    "b": 247
  },
  "hsl": {
    "h": 246.538,
    "s": 90.698,
    "l": 66.275
  },
  "oklch": {
    "l": 0.57845,
    "c": 0.22327,
    "h": 281.8
  },
  "luminance": 0.17386
}

Semantic roles & 50–950 ramp

primary
#6C5BF7
secondary
#EBF0BD
accent
#E600CC
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #6C5BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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