#6E56CC#6E56CC

#6E56CC is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.0% C 0.175 H 288.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#6E56CC
RGBrgb(110, 86, 204)
HSLhsl(252, 54%, 57%)
HSVhsv(252, 58%, 80%)
CMYKcmyk(46.1%, 57.8%, 0%, 20%)
CIE-LABlab(44.70, 38.96, -58.20)
CIE-LCHlch(44.70, 70.04, 303.80°)
OKLaboklab(53.95% 0.0555 -0.1661)
OKLCHoklch(53.95% 0.175 288.5)
XYZxyz(20.6542, 14.3294, 58.7926)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E56CC #B4CC56
analogous
#5679CC #6E56CC #A956CC
triadic
#6E56CC #CC6E56 #56CC6E
tetradic
#6E56CC #CC5679 #B4CC56 #56CCA9
square
#6E56CC #CC5679 #B4CC56 #56CCA9
split-complementary
#6E56CC #CCA956 #79CC56
monochromatic
#392781 #4E35B0 #6E56CC #9685DA #BFB4E8

Accessibility & contrast

On white

5.43
#6E56CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#6E56CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E56CC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E56CC#FFFFFF#000000##FFFFFF
##6E56CC1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#0067C9
Tritanopia (blue-blind)
#507089
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6e56cc;
/* rgb */ color: rgb(110, 86, 204);
/* oklch */ color: oklch(54.0% 0.175 288.5);
Tailwind
colors: {
  custom: {
    50: '#9e86dc',
    500: '#6e56cc',
    950: '#000000',
  },
}
SCSS
$custom: #6e56cc;
$custom-light: #9e86dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6e56cc",
  "rgb": {
    "r": 110,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 252.203,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53953,
    "c": 0.17515,
    "h": 288.5
  },
  "luminance": 0.1433
}

Semantic roles & 50–950 ramp

primary
#6E56CC
secondary
#CDD7A7
accent
#DD4BBF
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6E56CC

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

Preview Lab → · Contrast checker → · Palette generator →

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