#6D56CE#6D56CE

#6D56CE is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.0% C 0.178 H 287.7°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#6D56CE
RGBrgb(109, 86, 206)
HSLhsl(252, 55%, 57%)
HSVhsv(252, 58%, 81%)
CMYKcmyk(47.1%, 58.3%, 0%, 19.2%)
CIE-LABlab(44.75, 39.33, -59.28)
CIE-LCHlch(44.75, 71.14, 303.56°)
OKLaboklab(54.01% 0.0542 -0.1693)
OKLCHoklch(54.01% 0.178 287.7)
XYZxyz(20.7718, 14.3621, 60.0582)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D56CE #B7CE56
analogous
#567BCE #6D56CE #A956CE
triadic
#6D56CE #CE6D56 #56CE6D
tetradic
#6D56CE #CE567B #B7CE56 #56CEA9
square
#6D56CE #CE567B #B7CE56 #56CEA9
split-complementary
#6D56CE #CEA956 #7BCE56
monochromatic
#382683 #4C34B3 #6D56CE #9685DC #BFB5EA

Accessibility & contrast

On white

5.42
#6D56CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6D56CE
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D56CE#FFFFFF#000000##FFFFFF
##6D56CE1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#4D718A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6d56ce;
/* rgb */ color: rgb(109, 86, 206);
/* oklch */ color: oklch(54.0% 0.178 287.7);
Tailwind
colors: {
  custom: {
    50: '#9e86de',
    500: '#6d56ce',
    950: '#000000',
  },
}
SCSS
$custom: #6d56ce;
$custom-light: #9e86de;
$custom-dark: #000000;
JSON
{
  "hex": "#6d56ce",
  "rgb": {
    "r": 109,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 251.5,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54008,
    "c": 0.17779,
    "h": 287.7
  },
  "luminance": 0.14363
}

Semantic roles & 50–950 ramp

primary
#6D56CE
secondary
#CFD8A8
accent
#DE49C2
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6D56CE

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

Preview Lab → · Contrast checker → · Palette generator →

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