#6C5BBB#6C5BBB

#6C5BBB is a mid, vivid violet. Relative luminance 0.143; OKLCH L 53.5% C 0.145 H 288.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#6C5BBB
RGBrgb(108, 91, 187)
HSLhsl(251, 41%, 55%)
HSVhsv(251, 51%, 73%)
CMYKcmyk(42.2%, 51.3%, 0%, 26.7%)
CIE-LABlab(44.60, 30.59, -48.53)
CIE-LCHlch(44.60, 57.37, 302.23°)
OKLaboklab(53.48% 0.0465 -0.1377)
OKLCHoklch(53.48% 0.145 288.6)
XYZxyz(18.8926, 14.2575, 48.7606)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5BBB #AABB5B
analogous
#5B7ABB #6C5BBB #9C5BBB
triadic
#6C5BBB #BB6C5B #5BBB6C
tetradic
#6C5BBB #BB5B7A #AABB5B #5BBB9C
square
#6C5BBB #BB5B7A #AABB5B #5BBB9C
split-complementary
#6C5BBB #BB9C5B #7ABB5B
monochromatic
#392E6E #4F4099 #6C5BBB #9386CD #BAB2DF

Accessibility & contrast

On white

5.45
#6C5BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#6C5BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5BBB
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5BBB#FFFFFF#000000##FFFFFF
##6C5BBB1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316CBE
Deuteranopia (green-blind)
#3267B9
Tritanopia (blue-blind)
#556F82
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6c5bbb;
/* rgb */ color: rgb(108, 91, 187);
/* oklch */ color: oklch(53.5% 0.145 288.6);
Tailwind
colors: {
  custom: {
    50: '#9a89d0',
    500: '#6c5bbb',
    950: '#000000',
  },
}
SCSS
$custom: #6c5bbb;
$custom-light: #9a89d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5bbb",
  "rgb": {
    "r": 108,
    "g": 91,
    "b": 187
  },
  "hsl": {
    "h": 250.625,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53484,
    "c": 0.14537,
    "h": 288.6
  },
  "luminance": 0.14258
}

Semantic roles & 50–950 ramp

primary
#6C5BBB
secondary
#C6CDA5
accent
#D157BB
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6C5BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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