#6C5CBD#6C5CBD

#6C5CBD is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.8% C 0.147 H 288.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#6C5CBD
RGBrgb(108, 92, 189)
HSLhsl(250, 42%, 55%)
HSVhsv(250, 51%, 74%)
CMYKcmyk(42.9%, 51.3%, 0%, 25.9%)
CIE-LABlab(44.96, 30.57, -49.11)
CIE-LCHlch(44.96, 57.85, 301.90°)
OKLaboklab(53.8% 0.0454 -0.1394)
OKLCHoklch(53.8% 0.147 288)
XYZxyz(19.1942, 14.5159, 49.9248)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5CBD #ADBD5C
analogous
#5C7CBD #6C5CBD #9D5CBD
triadic
#6C5CBD #BD6C5C #5CBD6C
tetradic
#6C5CBD #BD5C7C #ADBD5C #5CBD9D
square
#6C5CBD #BD5C7C #ADBD5C #5CBD9D
split-complementary
#6C5CBD #BD9D5C #7CBD5C
monochromatic
#392E71 #4F3F9C #6C5CBD #9388CF #BBB3E0

Accessibility & contrast

On white

5.38
#6C5CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#6C5CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5CBD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5CBD#FFFFFF#000000##FFFFFF
##6C5CBD1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316DC0
Deuteranopia (green-blind)
#3168BB
Tritanopia (blue-blind)
#547084
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6c5cbd;
/* rgb */ color: rgb(108, 92, 189);
/* oklch */ color: oklch(53.8% 0.147 288.0);
Tailwind
colors: {
  custom: {
    50: '#9b8ad1',
    500: '#6c5cbd',
    950: '#000000',
  },
}
SCSS
$custom: #6c5cbd;
$custom-light: #9b8ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5cbd",
  "rgb": {
    "r": 108,
    "g": 92,
    "b": 189
  },
  "hsl": {
    "h": 249.897,
    "s": 42.358,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53795,
    "c": 0.14664,
    "h": 288
  },
  "luminance": 0.14517
}

Semantic roles & 50–950 ramp

primary
#6C5CBD
secondary
#C8CFA6
accent
#D256BE
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82

Preview Lab

Preview with #6C5CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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