#6D57CE#6D57CE

#6D57CE is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.2% C 0.176 H 287.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#6D57CE
RGBrgb(109, 87, 206)
HSLhsl(251, 55%, 57%)
HSVhsv(251, 58%, 81%)
CMYKcmyk(47.1%, 57.8%, 0%, 19.2%)
CIE-LABlab(44.97, 38.74, -58.92)
CIE-LCHlch(44.97, 70.52, 303.33°)
OKLaboklab(54.17% 0.053 -0.1683)
OKLCHoklch(54.17% 0.176 287.5)
XYZxyz(20.8522, 14.5229, 60.0850)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D57CE #B8CE57
analogous
#577DCE #6D57CE #A857CE
triadic
#6D57CE #CE6D57 #57CE6D
tetradic
#6D57CE #CE577D #B8CE57 #57CEA8
square
#6D57CE #CE577D #B8CE57 #57CEA8
split-complementary
#6D57CE #CEA857 #7DCE57
monochromatic
#382784 #4C34B3 #6D57CE #9686DC #BFB6EA

Accessibility & contrast

On white

5.38
#6D57CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#6D57CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D57CE
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D57CE#FFFFFF#000000##FFFFFF
##6D57CE1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d57ce;
/* rgb */ color: rgb(109, 87, 206);
/* oklch */ color: oklch(54.2% 0.176 287.5);
Tailwind
colors: {
  custom: {
    50: '#9d87de',
    500: '#6d57ce',
    950: '#000000',
  },
}
SCSS
$custom: #6d57ce;
$custom-light: #9d87de;
$custom-dark: #000000;
JSON
{
  "hex": "#6d57ce",
  "rgb": {
    "r": 109,
    "g": 87,
    "b": 206
  },
  "hsl": {
    "h": 251.092,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54174,
    "c": 0.17642,
    "h": 287.5
  },
  "luminance": 0.14524
}

Semantic roles & 50–950 ramp

primary
#6D57CE
secondary
#D0D8A8
accent
#DE4AC3
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6D57CE

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

Preview Lab → · Contrast checker → · Palette generator →

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