#6C56CC#6C56CC

#6C56CC is a mid, vivid violet. Relative luminance 0.142; OKLCH L 53.8% C 0.175 H 287.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#6C56CC
RGBrgb(108, 86, 204)
HSLhsl(251, 54%, 57%)
HSVhsv(251, 58%, 80%)
CMYKcmyk(47.1%, 57.8%, 0%, 20%)
CIE-LABlab(44.52, 38.53, -58.50)
CIE-LCHlch(44.52, 70.05, 303.37°)
OKLaboklab(53.78% 0.0529 -0.1671)
OKLCHoklch(53.78% 0.175 287.6)
XYZxyz(20.4081, 14.2025, 58.7811)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C56CC #B6CC56
analogous
#567BCC #6C56CC #A756CC
triadic
#6C56CC #CC6C56 #56CC6C
tetradic
#6C56CC #CC567B #B6CC56 #56CCA7
square
#6C56CC #CC567B #B6CC56 #56CCA7
split-complementary
#6C56CC #CCA756 #7BCC56
monochromatic
#382781 #4C35B0 #6C56CC #9585DA #BEB4E8

Accessibility & contrast

On white

5.47
#6C56CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#6C56CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C56CC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C56CC#FFFFFF#000000##FFFFFF
##6C56CC1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c56cc;
/* rgb */ color: rgb(108, 86, 204);
/* oklch */ color: oklch(53.8% 0.175 287.6);
Tailwind
colors: {
  custom: {
    50: '#9d86dc',
    500: '#6c56cc',
    950: '#000000',
  },
}
SCSS
$custom: #6c56cc;
$custom-light: #9d86dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6c56cc",
  "rgb": {
    "r": 108,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 251.186,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53777,
    "c": 0.17524,
    "h": 287.6
  },
  "luminance": 0.14203
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C56CC

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

Preview Lab → · Contrast checker → · Palette generator →

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