#6C57CD#6C57CD

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

Color values

HEX#6C57CD
RGBrgb(108, 87, 205)
HSLhsl(251, 54%, 57%)
HSVhsv(251, 58%, 80%)
CMYKcmyk(47.3%, 57.6%, 0%, 19.6%)
CIE-LABlab(44.82, 38.24, -58.60)
CIE-LCHlch(44.82, 69.97, 303.13°)
OKLaboklab(54.02% 0.0518 -0.1674)
OKLCHoklch(54.02% 0.175 287.2)
XYZxyz(20.6088, 14.4114, 59.4416)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C57CD #B8CD57
analogous
#577DCD #6C57CD #A757CD
triadic
#6C57CD #CD6C57 #57CD6C
tetradic
#6C57CD #CD577D #B8CD57 #57CDA7
square
#6C57CD #CD577D #B8CD57 #57CDA7
split-complementary
#6C57CD #CDA757 #7DCD57
monochromatic
#372783 #4B35B2 #6C57CD #9586DB #BFB5E9

Accessibility & contrast

On white

5.41
#6C57CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#6C57CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C57CD
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C57CD#FFFFFF#000000##FFFFFF
##6C57CD1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#0067CA
Tritanopia (blue-blind)
#4C7289
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6c57cd;
/* rgb */ color: rgb(108, 87, 205);
/* oklch */ color: oklch(54.0% 0.175 287.2);
Tailwind
colors: {
  custom: {
    50: '#9d87dd',
    500: '#6c57cd',
    950: '#000000',
  },
}
SCSS
$custom: #6c57cd;
$custom-light: #9d87dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6c57cd",
  "rgb": {
    "r": 108,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 250.678,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54016,
    "c": 0.17518,
    "h": 287.2
  },
  "luminance": 0.14412
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C57CD

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

Preview Lab → · Contrast checker → · Palette generator →

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