#6C5CD2#6C5CD2

#6C5CD2 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 55.2% C 0.175 H 285.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#6C5CD2
RGBrgb(108, 92, 210)
HSLhsl(248, 57%, 59%)
HSVhsv(248, 56%, 82%)
CMYKcmyk(48.6%, 56.2%, 0%, 17.6%)
CIE-LABlab(46.30, 36.76, -59.07)
CIE-LCHlch(46.30, 69.57, 301.90°)
OKLaboklab(55.22% 0.0462 -0.1687)
OKLCHoklch(55.22% 0.175 285.3)
XYZxyz(21.6409, 15.4946, 62.8107)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5CD2 #C2D25C
analogous
#5C87D2 #6C5CD2 #A75CD2
triadic
#6C5CD2 #D26C5C #5CD26C
tetradic
#6C5CD2 #D25C87 #C2D25C #5CD2A7
square
#6C5CD2 #D25C87 #C2D25C #5CD2A7
split-complementary
#6C5CD2 #D2A75C #87D25C
monochromatic
#35278D #4734BD #6C5CD2 #978CDF #C3BCEC

Accessibility & contrast

On white

5.12
#6C5CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#6C5CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5CD2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5CD2#FFFFFF#000000##FFFFFF
##6C5CD21.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B71D6
Deuteranopia (green-blind)
#016ACF
Tritanopia (blue-blind)
#48778E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6c5cd2;
/* rgb */ color: rgb(108, 92, 210);
/* oklch */ color: oklch(55.2% 0.175 285.3);
Tailwind
colors: {
  custom: {
    50: '#9d8ae0',
    500: '#6c5cd2',
    950: '#000000',
  },
}
SCSS
$custom: #6c5cd2;
$custom-light: #9d8ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5cd2",
  "rgb": {
    "r": 108,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 248.136,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55221,
    "c": 0.17492,
    "h": 285.3
  },
  "luminance": 0.15496
}

Semantic roles & 50–950 ramp

primary
#6C5CD2
secondary
#D6DCAE
accent
#E048CB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #6C5CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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