#6C5CD7#6C5CD7

#6C5CD7 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.6% C 0.181 H 284.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#6C5CD7
RGBrgb(108, 92, 215)
HSLhsl(248, 61%, 60%)
HSVhsv(248, 57%, 84%)
CMYKcmyk(49.8%, 57.2%, 0%, 15.7%)
CIE-LABlab(46.64, 38.26, -61.38)
CIE-LCHlch(46.64, 72.33, 301.93°)
OKLaboklab(55.58% 0.0462 -0.1755)
OKLCHoklch(55.58% 0.181 284.7)
XYZxyz(22.2736, 15.7476, 66.1428)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5CD7 #C7D75C
analogous
#5C89D7 #6C5CD7 #AA5CD7
triadic
#6C5CD7 #D76C5C #5CD76C
tetradic
#6C5CD7 #D75C89 #C7D75C #5CD7AA
square
#6C5CD7 #D75C89 #C7D75C #5CD7AA
split-complementary
#6C5CD7 #D7AA5C #89D75C
monochromatic
#332494 #4430C5 #6C5CD7 #988DE3 #C5BEEF

Accessibility & contrast

On white

5.06
#6C5CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#6C5CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5CD7
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5CD7#FFFFFF#000000##FFFFFF
##6C5CD71.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DB
Deuteranopia (green-blind)
#006BD4
Tritanopia (blue-blind)
#447891
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6c5cd7;
/* rgb */ color: rgb(108, 92, 215);
/* oklch */ color: oklch(55.6% 0.181 284.7);
Tailwind
colors: {
  custom: {
    50: '#9e8be4',
    500: '#6c5cd7',
    950: '#000000',
  },
}
SCSS
$custom: #6c5cd7;
$custom-light: #9e8be4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5cd7",
  "rgb": {
    "r": 108,
    "g": 92,
    "b": 215
  },
  "hsl": {
    "h": 247.805,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55578,
    "c": 0.18149,
    "h": 284.7
  },
  "luminance": 0.15749
}

Semantic roles & 50–950 ramp

primary
#6C5CD7
secondary
#D9DFB0
accent
#C81DB2
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6C5CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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