#6D5CD8#6D5CD8

#6D5CD8 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.7% C 0.183 H 285.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#6D5CD8
RGBrgb(109, 92, 216)
HSLhsl(248, 61%, 60%)
HSVhsv(248, 57%, 85%)
CMYKcmyk(49.5%, 57.4%, 0%, 15.3%)
CIE-LABlab(46.79, 38.76, -61.70)
CIE-LCHlch(46.79, 72.86, 302.13°)
OKLaboklab(55.73% 0.0475 -0.1764)
OKLCHoklch(55.73% 0.183 285.1)
XYZxyz(22.5248, 15.8623, 66.8273)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D5CD8 #C7D85C
analogous
#5C89D8 #6D5CD8 #AB5CD8
triadic
#6D5CD8 #D86D5C #5CD86D
tetradic
#6D5CD8 #D85C89 #C7D85C #5CD8AB
square
#6D5CD8 #D85C89 #C7D85C #5CD8AB
split-complementary
#6D5CD8 #D8AB5C #89D85C
monochromatic
#332496 #4430C7 #6D5CD8 #998DE4 #C5BFF0

Accessibility & contrast

On white

5.03
#6D5CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#6D5CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D5CD8
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D5CD8#FFFFFF#000000##FFFFFF
##6D5CD81.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#006BD5
Tritanopia (blue-blind)
#467891
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6d5cd8;
/* rgb */ color: rgb(109, 92, 216);
/* oklch */ color: oklch(55.7% 0.183 285.1);
Tailwind
colors: {
  custom: {
    50: '#9e8be5',
    500: '#6d5cd8',
    950: '#000000',
  },
}
SCSS
$custom: #6d5cd8;
$custom-light: #9e8be5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d5cd8",
  "rgb": {
    "r": 109,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 248.226,
    "s": 61.386,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55732,
    "c": 0.1827,
    "h": 285.1
  },
  "luminance": 0.15863
}

Semantic roles & 50–950 ramp

primary
#6D5CD8
secondary
#D9E0B0
accent
#C91CB1
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6D5CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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