#6B5ABC#6B5ABC

#6B5ABC is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.3% C 0.148 H 288.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#6B5ABC
RGBrgb(107, 90, 188)
HSLhsl(250, 42%, 55%)
HSVhsv(250, 52%, 74%)
CMYKcmyk(43.1%, 52.1%, 0%, 26.3%)
CIE-LABlab(44.33, 31.25, -49.55)
CIE-LCHlch(44.33, 58.58, 302.24°)
OKLaboklab(53.28% 0.0465 -0.1408)
OKLCHoklch(53.28% 0.148 288.3)
XYZxyz(18.7941, 14.0683, 49.2924)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5ABC #ABBC5A
analogous
#5A7ABC #6B5ABC #9C5ABC
triadic
#6B5ABC #BC6B5A #5ABC6B
tetradic
#6B5ABC #BC5A7A #ABBC5A #5ABC9C
square
#6B5ABC #BC5A7A #ABBC5A #5ABC9C
split-complementary
#6B5ABC #BC9C5A #7ABC5A
monochromatic
#382D6F #4E3F9A #6B5ABC #9286CE #B9B1DF

Accessibility & contrast

On white

5.51
#6B5ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#6B5ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5ABC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5ABC#FFFFFF#000000##FFFFFF
##6B5ABC1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6BBF
Deuteranopia (green-blind)
#2E66BA
Tritanopia (blue-blind)
#536F82
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6b5abc;
/* rgb */ color: rgb(107, 90, 188);
/* oklch */ color: oklch(53.3% 0.148 288.3);
Tailwind
colors: {
  custom: {
    50: '#9a89d1',
    500: '#6b5abc',
    950: '#000000',
  },
}
SCSS
$custom: #6b5abc;
$custom-light: #9a89d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5abc",
  "rgb": {
    "r": 107,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 250.408,
    "s": 42.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53281,
    "c": 0.14826,
    "h": 288.3
  },
  "luminance": 0.14069
}

Semantic roles & 50–950 ramp

primary
#6B5ABC
secondary
#C6CEA4
accent
#D256BC
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6B5ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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