#6D5CD6#6D5CD6

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

Color values

HEX#6D5CD6
RGBrgb(109, 92, 214)
HSLhsl(248, 60%, 60%)
HSVhsv(248, 57%, 84%)
CMYKcmyk(49.1%, 57%, 0%, 16.1%)
CIE-LABlab(46.66, 38.16, -60.78)
CIE-LCHlch(46.66, 71.77, 302.12°)
OKLaboklab(55.59% 0.0475 -0.1737)
OKLCHoklch(55.59% 0.18 285.3)
XYZxyz(22.2678, 15.7595, 65.4738)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D5CD6 #C5D65C
analogous
#5C88D6 #6D5CD6 #AA5CD6
triadic
#6D5CD6 #D66D5C #5CD66D
tetradic
#6D5CD6 #D65C88 #C5D65C #5CD6AA
square
#6D5CD6 #D65C88 #C5D65C #5CD6AA
split-complementary
#6D5CD6 #D6AA5C #88D65C
monochromatic
#342593 #4631C4 #6D5CD6 #998DE2 #C5BEEF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D5CD6#FFFFFF#000000##FFFFFF
##6D5CD61.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)
#0072DA
Deuteranopia (green-blind)
#006BD3
Tritanopia (blue-blind)
#477890
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6d5cd6;
/* rgb */ color: rgb(109, 92, 214);
/* oklch */ color: oklch(55.6% 0.180 285.3);
Tailwind
colors: {
  custom: {
    50: '#9e8be3',
    500: '#6d5cd6',
    950: '#000000',
  },
}
SCSS
$custom: #6d5cd6;
$custom-light: #9e8be3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d5cd6",
  "rgb": {
    "r": 109,
    "g": 92,
    "b": 214
  },
  "hsl": {
    "h": 248.361,
    "s": 59.804,
    "l": 60
  },
  "oklch": {
    "l": 0.55589,
    "c": 0.18009,
    "h": 285.3
  },
  "luminance": 0.15761
}

Semantic roles & 50–950 ramp

primary
#6D5CD6
secondary
#D8DEAF
accent
#E345CD
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6D5CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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