#6C5BDA#6C5BDA

#6C5BDA is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.6% C 0.187 H 284.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#6C5BDA
RGBrgb(108, 91, 218)
HSLhsl(248, 63%, 61%)
HSVhsv(248, 58%, 85%)
CMYKcmyk(50.5%, 58.3%, 0%, 14.5%)
CIE-LABlab(46.62, 39.74, -63.13)
CIE-LCHlch(46.62, 74.59, 302.19°)
OKLaboklab(55.63% 0.0472 -0.1806)
OKLCHoklch(55.63% 0.187 284.6)
XYZxyz(22.5765, 15.7311, 68.1629)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5BDA #C9DA5B
analogous
#5B8ADA #6C5BDA #AB5BDA
triadic
#6C5BDA #DA6C5B #5BDA6C
tetradic
#6C5BDA #DA5B8A #C9DA5B #5BDAAB
square
#6C5BDA #DA5B8A #C9DA5B #5BDAAB
split-complementary
#6C5BDA #DAAB5B #8ADA5B
monochromatic
#322298 #432ECA #6C5BDA #998DE5 #C6BFF1

Accessibility & contrast

On white

5.06
#6C5BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#6C5BDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5BDA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5BDA#FFFFFF#000000##FFFFFF
##6C5BDA1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#006BD7
Tritanopia (blue-blind)
#427892
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6c5bda;
/* rgb */ color: rgb(108, 91, 218);
/* oklch */ color: oklch(55.6% 0.187 284.6);
Tailwind
colors: {
  custom: {
    50: '#9e8ae6',
    500: '#6c5bda',
    950: '#000000',
  },
}
SCSS
$custom: #6c5bda;
$custom-light: #9e8ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5bda",
  "rgb": {
    "r": 108,
    "g": 91,
    "b": 218
  },
  "hsl": {
    "h": 248.031,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55627,
    "c": 0.18672,
    "h": 284.6
  },
  "luminance": 0.15732
}

Semantic roles & 50–950 ramp

primary
#6C5BDA
secondary
#DAE1B0
accent
#CB1BB3
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6C5BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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