#6B56BD#6B56BD

#6B56BD is a mid, vivid violet. Relative luminance 0.135; OKLCH L 52.6% C 0.155 H 289.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#6B56BD
RGBrgb(107, 86, 189)
HSLhsl(252, 44%, 54%)
HSVhsv(252, 54%, 74%)
CMYKcmyk(43.4%, 54.5%, 0%, 25.9%)
CIE-LABlab(43.44, 33.94, -51.56)
CIE-LCHlch(43.44, 61.73, 303.36°)
OKLaboklab(52.64% 0.0515 -0.1467)
OKLCHoklch(52.64% 0.155 289.3)
XYZxyz(18.5739, 13.4549, 49.7526)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B56BD #A8BD56
analogous
#5675BD #6B56BD #9F56BD
triadic
#6B56BD #BD6B56 #56BD6B
tetradic
#6B56BD #BD5675 #A8BD56 #56BD9F
square
#6B56BD #BD5675 #A8BD56 #56BD9F
split-complementary
#6B56BD #BD9F56 #75BD56
monochromatic
#382B6E #4F3C9A #6B56BD #9282CE #B8AEDF

Accessibility & contrast

On white

5.69
#6B56BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#6B56BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B56BD
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B56BD#FFFFFF#000000##FFFFFF
##6B56BD1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2269C1
Deuteranopia (green-blind)
#2564BB
Tritanopia (blue-blind)
#536C81
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6b56bd;
/* rgb */ color: rgb(107, 86, 189);
/* oklch */ color: oklch(52.6% 0.155 289.3);
Tailwind
colors: {
  custom: {
    50: '#9a86d1',
    500: '#6b56bd',
    950: '#000000',
  },
}
SCSS
$custom: #6b56bd;
$custom-light: #9a86d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b56bd",
  "rgb": {
    "r": 107,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 252.233,
    "s": 43.83,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52639,
    "c": 0.15546,
    "h": 289.3
  },
  "luminance": 0.13455
}

Semantic roles & 50–950 ramp

primary
#6B56BD
secondary
#C4CDA1
accent
#D454BA
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6B56BD

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

Preview Lab → · Contrast checker → · Palette generator →

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