#6B56BE#6B56BE

#6B56BE is a mid, vivid violet. Relative luminance 0.135; OKLCH L 52.7% C 0.157 H 289.2°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#6B56BE
RGBrgb(107, 86, 190)
HSLhsl(252, 44%, 54%)
HSVhsv(252, 55%, 75%)
CMYKcmyk(43.7%, 54.7%, 0%, 25.5%)
CIE-LABlab(43.50, 34.23, -52.04)
CIE-LCHlch(43.50, 62.29, 303.34°)
OKLaboklab(52.71% 0.0515 -0.1481)
OKLCHoklch(52.71% 0.157 289.2)
XYZxyz(18.6828, 13.4984, 50.3263)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B56BE #A9BE56
analogous
#5675BE #6B56BE #9F56BE
triadic
#6B56BE #BE6B56 #56BE6B
tetradic
#6B56BE #BE5675 #A9BE56 #56BE9F
square
#6B56BE #BE5675 #A9BE56 #56BE9F
split-complementary
#6B56BE #BE9F56 #75BE56
monochromatic
#382B6F #4F3C9B #6B56BE #9282CF #B8AEE0

Accessibility & contrast

On white

5.68
#6B56BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#6B56BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B56BE
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B56BE#FFFFFF#000000##FFFFFF
##6B56BE1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2169C2
Deuteranopia (green-blind)
#2364BC
Tritanopia (blue-blind)
#526C82
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6b56be;
/* rgb */ color: rgb(107, 86, 190);
/* oklch */ color: oklch(52.7% 0.157 289.2);
Tailwind
colors: {
  custom: {
    50: '#9a86d2',
    500: '#6b56be',
    950: '#000000',
  },
}
SCSS
$custom: #6b56be;
$custom-light: #9a86d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b56be",
  "rgb": {
    "r": 107,
    "g": 86,
    "b": 190
  },
  "hsl": {
    "h": 252.115,
    "s": 44.444,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52707,
    "c": 0.1568,
    "h": 289.2
  },
  "luminance": 0.13499
}

Semantic roles & 50–950 ramp

primary
#6B56BE
secondary
#C5CEA2
accent
#D454BA
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #6B56BE

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

Preview Lab → · Contrast checker → · Palette generator →

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