#6C5BD5#6C5BD5

#6C5BD5 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 55.3% C 0.180 H 285.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#6C5BD5
RGBrgb(108, 91, 213)
HSLhsl(248, 59%, 60%)
HSVhsv(248, 57%, 84%)
CMYKcmyk(49.3%, 57.3%, 0%, 16.5%)
CIE-LABlab(46.28, 38.25, -60.83)
CIE-LCHlch(46.28, 71.86, 302.16°)
OKLaboklab(55.27% 0.0473 -0.1739)
OKLCHoklch(55.27% 0.18 285.2)
XYZxyz(21.9321, 15.4733, 64.7689)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5BD5 #C4D55B
analogous
#5B87D5 #6C5BD5 #A95BD5
triadic
#6C5BD5 #D56C5B #5BD56C
tetradic
#6C5BD5 #D55B87 #C4D55B #5BD5A9
square
#6C5BD5 #D55B87 #C4D55B #5BD5A9
split-complementary
#6C5BD5 #D5A95B #87D55B
monochromatic
#342591 #4632C1 #6C5BD5 #988CE1 #C3BCEE

Accessibility & contrast

On white

5.13
#6C5BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#6C5BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5BD5
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5BD5#FFFFFF#000000##FFFFFF
##6C5BD51.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#006AD2
Tritanopia (blue-blind)
#46778F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6c5bd5;
/* rgb */ color: rgb(108, 91, 213);
/* oklch */ color: oklch(55.3% 0.180 285.2);
Tailwind
colors: {
  custom: {
    50: '#9d8ae3',
    500: '#6c5bd5',
    950: '#000000',
  },
}
SCSS
$custom: #6c5bd5;
$custom-light: #9d8ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5bd5",
  "rgb": {
    "r": 108,
    "g": 91,
    "b": 213
  },
  "hsl": {
    "h": 248.361,
    "s": 59.223,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55265,
    "c": 0.18022,
    "h": 285.2
  },
  "luminance": 0.15474
}

Semantic roles & 50–950 ramp

primary
#6C5BD5
secondary
#D7DEAE
accent
#E245CD
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#0F0C15
muted
#7F7D84

Preview Lab

Preview with #6C5BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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