#6C5DC2#6C5DC2

#6C5DC2 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.3% C 0.152 H 287.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#6C5DC2
RGBrgb(108, 93, 194)
HSLhsl(249, 45%, 56%)
HSVhsv(249, 52%, 76%)
CMYKcmyk(44.3%, 52.1%, 0%, 23.9%)
CIE-LABlab(45.51, 31.43, -51.13)
CIE-LCHlch(45.51, 60.02, 301.58°)
OKLaboklab(54.3% 0.0445 -0.1454)
OKLCHoklch(54.3% 0.152 287)
XYZxyz(19.8335, 14.9111, 52.8616)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5DC2 #B3C25D
analogous
#5D81C2 #6C5DC2 #9F5DC2
triadic
#6C5DC2 #C26C5D #5DC26C
tetradic
#6C5DC2 #C25D81 #B3C25D #5DC29F
square
#6C5DC2 #C25D81 #B3C25D #5DC29F
split-complementary
#6C5DC2 #C29F5D #81C25D
monochromatic
#382D78 #4D3EA4 #6C5DC2 #9489D3 #BDB6E3

Accessibility & contrast

On white

5.27
#6C5DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#6C5DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5DC2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5DC2#FFFFFF#000000##FFFFFF
##6C5DC21.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6EC6
Deuteranopia (green-blind)
#2D69C0
Tritanopia (blue-blind)
#527287
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6c5dc2;
/* rgb */ color: rgb(108, 93, 194);
/* oklch */ color: oklch(54.3% 0.152 287.0);
Tailwind
colors: {
  custom: {
    50: '#9b8bd5',
    500: '#6c5dc2',
    950: '#000000',
  },
}
SCSS
$custom: #6c5dc2;
$custom-light: #9b8bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5dc2",
  "rgb": {
    "r": 108,
    "g": 93,
    "b": 194
  },
  "hsl": {
    "h": 248.911,
    "s": 45.291,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54303,
    "c": 0.15203,
    "h": 287
  },
  "luminance": 0.14912
}

Semantic roles & 50–950 ramp

primary
#6C5DC2
secondary
#CCD2A9
accent
#D553C2
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0F0C14
muted
#7E7D83

Preview Lab

Preview with #6C5DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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