#6B5ABA#6B5ABA

#6B5ABA is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.1% C 0.146 H 288.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#6B5ABA
RGBrgb(107, 90, 186)
HSLhsl(251, 41%, 54%)
HSVhsv(251, 52%, 73%)
CMYKcmyk(42.5%, 51.6%, 0%, 27.1%)
CIE-LABlab(44.21, 30.67, -48.58)
CIE-LCHlch(44.21, 57.45, 302.26°)
OKLaboklab(53.15% 0.0464 -0.1379)
OKLCHoklch(53.15% 0.146 288.6)
XYZxyz(18.5800, 13.9827, 48.1648)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5ABA #A9BA5A
analogous
#5A79BA #6B5ABA #9B5ABA
triadic
#6B5ABA #BA6B5A #5ABA6B
tetradic
#6B5ABA #BA5A79 #A9BA5A #5ABA9B
square
#6B5ABA #BA5A79 #A9BA5A #5ABA9B
split-complementary
#6B5ABA #BA9B5A #79BA5A
monochromatic
#382D6C #4F3F97 #6B5ABA #9285CC #B8B0DE

Accessibility & contrast

On white

5.53
#6B5ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#6B5ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5ABA
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5ABA#FFFFFF#000000##FFFFFF
##6B5ABA1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306BBD
Deuteranopia (green-blind)
#3066B8
Tritanopia (blue-blind)
#546E81
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6b5aba;
/* rgb */ color: rgb(107, 90, 186);
/* oklch */ color: oklch(53.1% 0.146 288.6);
Tailwind
colors: {
  custom: {
    50: '#9a89cf',
    500: '#6b5aba',
    950: '#000000',
  },
}
SCSS
$custom: #6b5aba;
$custom-light: #9a89cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5aba",
  "rgb": {
    "r": 107,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 250.625,
    "s": 41.026,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5315,
    "c": 0.14551,
    "h": 288.6
  },
  "luminance": 0.13983
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B5ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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