#6C5BDB#6C5BDB

#6C5BDB is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.7% C 0.188 H 284.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#6C5BDB
RGBrgb(108, 91, 219)
HSLhsl(248, 64%, 61%)
HSVhsv(248, 58%, 86%)
CMYKcmyk(50.7%, 58.4%, 0%, 14.1%)
CIE-LABlab(46.69, 40.04, -63.58)
CIE-LCHlch(46.69, 75.14, 302.20°)
OKLaboklab(55.7% 0.0472 -0.182)
OKLCHoklch(55.7% 0.188 284.5)
XYZxyz(22.7078, 15.7836, 68.8541)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5BDB #CADB5B
analogous
#5B8ADB #6C5BDB #AC5BDB
triadic
#6C5BDB #DB6C5B #5BDB6C
tetradic
#6C5BDB #DB5B8A #CADB5B #5BDBAC
square
#6C5BDB #DB5B8A #CADB5B #5BDBAC
split-complementary
#6C5BDB #DBAC5B #8ADB5B
monochromatic
#32229A #422DCC #6C5BDB #998DE6 #C6BFF1

Accessibility & contrast

On white

5.05
#6C5BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#6C5BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5BDB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5BDB#FFFFFF#000000##FFFFFF
##6C5BDB1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#006BD8
Tritanopia (blue-blind)
#417992
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6c5bdb;
/* rgb */ color: rgb(108, 91, 219);
/* oklch */ color: oklch(55.7% 0.188 284.5);
Tailwind
colors: {
  custom: {
    50: '#9e8ae7',
    500: '#6c5bdb',
    950: '#000000',
  },
}
SCSS
$custom: #6c5bdb;
$custom-light: #9e8ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5bdb",
  "rgb": {
    "r": 108,
    "g": 91,
    "b": 219
  },
  "hsl": {
    "h": 247.969,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55701,
    "c": 0.18801,
    "h": 284.5
  },
  "luminance": 0.15785
}

Semantic roles & 50–950 ramp

primary
#6C5BDB
secondary
#DBE1B1
accent
#CC1AB4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6C5BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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