#6D57CC#6D57CC

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

Color values

HEX#6D57CC
RGBrgb(109, 87, 204)
HSLhsl(251, 53%, 57%)
HSVhsv(251, 57%, 80%)
CMYKcmyk(46.6%, 57.4%, 0%, 20%)
CIE-LABlab(44.84, 38.16, -57.99)
CIE-LCHlch(44.84, 69.42, 303.35°)
OKLaboklab(54.03% 0.0531 -0.1655)
OKLCHoklch(54.03% 0.174 287.8)
XYZxyz(20.6108, 14.4264, 58.8136)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D57CC #B6CC57
analogous
#577CCC #6D57CC #A857CC
triadic
#6D57CC #CC6D57 #57CC6D
tetradic
#6D57CC #CC577C #B6CC57 #57CCA8
square
#6D57CC #CC577C #B6CC57 #57CCA8
split-complementary
#6D57CC #CCA857 #7CCC57
monochromatic
#382781 #4D36B0 #6D57CC #9686DA #BFB5E9

Accessibility & contrast

On white

5.40
#6D57CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#6D57CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D57CC
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D57CC#FFFFFF#000000##FFFFFF
##6D57CC1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD0
Deuteranopia (green-blind)
#0267C9
Tritanopia (blue-blind)
#4E7189
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6d57cc;
/* rgb */ color: rgb(109, 87, 204);
/* oklch */ color: oklch(54.0% 0.174 287.8);
Tailwind
colors: {
  custom: {
    50: '#9d87dc',
    500: '#6d57cc',
    950: '#000000',
  },
}
SCSS
$custom: #6d57cc;
$custom-light: #9d87dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6d57cc",
  "rgb": {
    "r": 109,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 251.282,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54031,
    "c": 0.17382,
    "h": 287.8
  },
  "luminance": 0.14427
}

Semantic roles & 50–950 ramp

primary
#6D57CC
secondary
#CED7A8
accent
#DD4BC1
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6D57CC

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

Preview Lab → · Contrast checker → · Palette generator →

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