#6C5EB0#6C5EB0

#6C5EB0 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 53.4% C 0.125 H 289.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#6C5EB0
RGBrgb(108, 94, 176)
HSLhsl(250, 34%, 53%)
HSVhsv(250, 47%, 69%)
CMYKcmyk(38.6%, 46.6%, 0%, 31%)
CIE-LABlab(44.70, 25.61, -41.95)
CIE-LCHlch(44.70, 49.15, 301.41°)
OKLaboklab(53.35% 0.0414 -0.1184)
OKLCHoklch(53.35% 0.125 289.3)
XYZxyz(18.0214, 14.3276, 42.8819)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5EB0 #A2B05E
analogous
#5E79B0 #6C5EB0 #955EB0
triadic
#6C5EB0 #B06C5E #5EB06C
tetradic
#6C5EB0 #B05E79 #A2B05E #5EB095
square
#6C5EB0 #B05E79 #A2B05E #5EB095
split-complementary
#6C5EB0 #B0955E #79B05E
monochromatic
#393163 #51458C #6C5EB0 #9187C4 #B7B0D8

Accessibility & contrast

On white

5.43
#6C5EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#6C5EB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5EB0
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5EB0#FFFFFF#000000##FFFFFF
##6C5EB01.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406BB3
Deuteranopia (green-blind)
#4168AE
Tritanopia (blue-blind)
#5A6E7E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6c5eb0;
/* rgb */ color: rgb(108, 94, 176);
/* oklch */ color: oklch(53.4% 0.125 289.3);
Tailwind
colors: {
  custom: {
    50: '#998cc8',
    500: '#6c5eb0',
    950: '#000000',
  },
}
SCSS
$custom: #6c5eb0;
$custom-light: #998cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5eb0",
  "rgb": {
    "r": 108,
    "g": 94,
    "b": 176
  },
  "hsl": {
    "h": 250.244,
    "s": 34.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53351,
    "c": 0.12548,
    "h": 289.3
  },
  "luminance": 0.14328
}

Semantic roles & 50–950 ramp

primary
#6C5EB0
secondary
#C1C7A3
accent
#CA5EB8
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #6C5EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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