#6B56CF#6B56CF

#6B56CF is a mid, vivid violet. Relative luminance 0.143; OKLCH L 53.9% C 0.179 H 286.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#6B56CF
RGBrgb(107, 86, 207)
HSLhsl(250, 56%, 57%)
HSVhsv(250, 58%, 81%)
CMYKcmyk(48.3%, 58.5%, 0%, 18.8%)
CIE-LABlab(44.64, 39.21, -60.04)
CIE-LCHlch(44.64, 71.71, 303.14°)
OKLaboklab(53.91% 0.0516 -0.1716)
OKLCHoklch(53.91% 0.179 286.7)
XYZxyz(20.6504, 14.2854, 60.6887)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B56CF #BACF56
analogous
#567ECF #6B56CF #A756CF
triadic
#6B56CF #CF6B56 #56CF6B
tetradic
#6B56CF #CF567E #BACF56 #56CFA7
square
#6B56CF #CF567E #BACF56 #56CFA7
split-complementary
#6B56CF #CFA756 #7ECF56
monochromatic
#362685 #4A33B5 #6B56CF #9586DD #BEB5EA

Accessibility & contrast

On white

5.44
#6B56CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#6B56CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B56CF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B56CF#FFFFFF#000000##FFFFFF
##6B56CF1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#49728A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6b56cf;
/* rgb */ color: rgb(107, 86, 207);
/* oklch */ color: oklch(53.9% 0.179 286.7);
Tailwind
colors: {
  custom: {
    50: '#9c86de',
    500: '#6b56cf',
    950: '#000000',
  },
}
SCSS
$custom: #6b56cf;
$custom-light: #9c86de;
$custom-dark: #000000;
JSON
{
  "hex": "#6b56cf",
  "rgb": {
    "r": 107,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 250.413,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53907,
    "c": 0.17921,
    "h": 286.7
  },
  "luminance": 0.14286
}

Semantic roles & 50–950 ramp

primary
#6B56CF
secondary
#D0D9A8
accent
#DF49C5
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6B56CF

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

Preview Lab → · Contrast checker → · Palette generator →

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