#6D5CD5#6D5CD5

#6D5CD5 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.5% C 0.179 H 285.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#6D5CD5
RGBrgb(109, 92, 213)
HSLhsl(248, 59%, 60%)
HSVhsv(248, 57%, 84%)
CMYKcmyk(48.8%, 56.8%, 0%, 16.5%)
CIE-LABlab(46.59, 37.86, -60.32)
CIE-LCHlch(46.59, 71.22, 302.12°)
OKLaboklab(55.52% 0.0475 -0.1724)
OKLCHoklch(55.52% 0.179 285.4)
XYZxyz(22.1405, 15.7085, 64.8033)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D5CD5 #C4D55C
analogous
#5C87D5 #6D5CD5 #AA5CD5
triadic
#6D5CD5 #D56D5C #5CD56D
tetradic
#6D5CD5 #D55C87 #C4D55C #5CD5AA
square
#6D5CD5 #D55C87 #C4D55C #5CD5AA
split-complementary
#6D5CD5 #D5AA5C #87D55C
monochromatic
#352591 #4632C2 #6D5CD5 #998DE2 #C4BDEE

Accessibility & contrast

On white

5.07
#6D5CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#6D5CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D5CD5
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D5CD5#FFFFFF#000000##FFFFFF
##6D5CD51.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072D9
Deuteranopia (green-blind)
#006BD2
Tritanopia (blue-blind)
#487790
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6d5cd5;
/* rgb */ color: rgb(109, 92, 213);
/* oklch */ color: oklch(55.5% 0.179 285.4);
Tailwind
colors: {
  custom: {
    50: '#9e8be3',
    500: '#6d5cd5',
    950: '#000000',
  },
}
SCSS
$custom: #6d5cd5;
$custom-light: #9e8be3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d5cd5",
  "rgb": {
    "r": 109,
    "g": 92,
    "b": 213
  },
  "hsl": {
    "h": 248.43,
    "s": 59.024,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55517,
    "c": 0.17878,
    "h": 285.4
  },
  "luminance": 0.1571
}

Semantic roles & 50–950 ramp

primary
#6D5CD5
secondary
#D7DEAF
accent
#E246CC
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#0F0C15
muted
#7F7D84

Preview Lab

Preview with #6D5CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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