#6C5EBA#6C5EBA

#6C5EBA is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.0% C 0.140 H 287.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6C5EBA
RGBrgb(108, 94, 186)
HSLhsl(249, 40%, 55%)
HSVhsv(249, 49%, 73%)
CMYKcmyk(41.9%, 49.5%, 0%, 27.1%)
CIE-LABlab(45.27, 28.49, -46.87)
CIE-LCHlch(45.27, 54.85, 301.29°)
OKLaboklab(53.97% 0.0426 -0.1329)
OKLCHoklch(53.97% 0.14 287.8)
XYZxyz(19.0475, 14.7381, 48.2860)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5EBA #ACBA5E
analogous
#5E7EBA #6C5EBA #9A5EBA
triadic
#6C5EBA #BA6C5E #5EBA6C
tetradic
#6C5EBA #BA5E7E #ACBA5E #5EBA9A
square
#6C5EBA #BA5E7E #ACBA5E #5EBA9A
split-complementary
#6C5EBA #BA9A5E #7EBA5E
monochromatic
#392F6E #4F4299 #6C5EBA #9389CC #BAB4DF

Accessibility & contrast

On white

5.32
#6C5EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#6C5EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5EBA
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5EBA#FFFFFF#000000##FFFFFF
##6C5EBA1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386DBD
Deuteranopia (green-blind)
#3869B8
Tritanopia (blue-blind)
#557183
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6c5eba;
/* rgb */ color: rgb(108, 94, 186);
/* oklch */ color: oklch(54.0% 0.140 287.8);
Tailwind
colors: {
  custom: {
    50: '#9a8ccf',
    500: '#6c5eba',
    950: '#000000',
  },
}
SCSS
$custom: #6c5eba;
$custom-light: #9a8ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5eba",
  "rgb": {
    "r": 108,
    "g": 94,
    "b": 186
  },
  "hsl": {
    "h": 249.13,
    "s": 40,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53969,
    "c": 0.13953,
    "h": 287.8
  },
  "luminance": 0.14739
}

Semantic roles & 50–950 ramp

primary
#6C5EBA
secondary
#C7CDA7
accent
#D058BE
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82

Preview Lab

Preview with #6C5EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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