#6B56CC#6B56CC

#6B56CC is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.7% C 0.175 H 287.1°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#6B56CC
RGBrgb(107, 86, 204)
HSLhsl(251, 54%, 57%)
HSVhsv(251, 58%, 80%)
CMYKcmyk(47.5%, 57.8%, 0%, 20%)
CIE-LABlab(44.43, 38.32, -58.65)
CIE-LCHlch(44.43, 70.06, 303.16°)
OKLaboklab(53.69% 0.0516 -0.1675)
OKLCHoklch(53.69% 0.175 287.1)
XYZxyz(20.2871, 14.1401, 58.7754)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B56CC #B7CC56
analogous
#567CCC #6B56CC #A656CC
triadic
#6B56CC #CC6B56 #56CC6B
tetradic
#6B56CC #CC567C #B7CC56 #56CCA6
square
#6B56CC #CC567C #B7CC56 #56CCA6
split-complementary
#6B56CC #CCA656 #7CCC56
monochromatic
#372781 #4B35B0 #6B56CC #9485DA #BDB4E8

Accessibility & contrast

On white

5.49
#6B56CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#6B56CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B56CC
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B56CC#FFFFFF#000000##FFFFFF
##6B56CC1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#4B7189
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6b56cc;
/* rgb */ color: rgb(107, 86, 204);
/* oklch */ color: oklch(53.7% 0.175 287.1);
Tailwind
colors: {
  custom: {
    50: '#9c86dc',
    500: '#6b56cc',
    950: '#000000',
  },
}
SCSS
$custom: #6b56cc;
$custom-light: #9c86dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b56cc",
  "rgb": {
    "r": 107,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 250.678,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5369,
    "c": 0.1753,
    "h": 287.1
  },
  "luminance": 0.14141
}

Semantic roles & 50–950 ramp

primary
#6B56CC
secondary
#CED7A7
accent
#DD4BC3
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6B56CC

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

Preview Lab → · Contrast checker → · Palette generator →

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