#6D57CF#6D57CF

#6D57CF is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.2% C 0.178 H 287.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#6D57CF
RGBrgb(109, 87, 207)
HSLhsl(251, 56%, 58%)
HSVhsv(251, 58%, 81%)
CMYKcmyk(47.3%, 58%, 0%, 18.8%)
CIE-LABlab(45.04, 39.04, -59.38)
CIE-LCHlch(45.04, 71.06, 303.32°)
OKLaboklab(54.25% 0.053 -0.1696)
OKLCHoklch(54.25% 0.178 287.4)
XYZxyz(20.9741, 14.5717, 60.7269)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D57CF #B9CF57
analogous
#577DCF #6D57CF #A957CF
triadic
#6D57CF #CF6D57 #57CF6D
tetradic
#6D57CF #CF577D #B9CF57 #57CFA9
square
#6D57CF #CF577D #B9CF57 #57CFA9
split-complementary
#6D57CF #CFA957 #7DCF57
monochromatic
#382685 #4B34B5 #6D57CF #9687DD #C0B6EA

Accessibility & contrast

On white

5.36
#6D57CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#6D57CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D57CF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D57CF#FFFFFF#000000##FFFFFF
##6D57CF1.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#4C728B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6d57cf;
/* rgb */ color: rgb(109, 87, 207);
/* oklch */ color: oklch(54.2% 0.178 287.4);
Tailwind
colors: {
  custom: {
    50: '#9e87de',
    500: '#6d57cf',
    950: '#000000',
  },
}
SCSS
$custom: #6d57cf;
$custom-light: #9e87de;
$custom-dark: #000000;
JSON
{
  "hex": "#6d57cf",
  "rgb": {
    "r": 109,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 251,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54246,
    "c": 0.17773,
    "h": 287.4
  },
  "luminance": 0.14573
}

Semantic roles & 50–950 ramp

primary
#6D57CF
secondary
#D0D9A9
accent
#DF49C3
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6D57CF

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

Preview Lab → · Contrast checker → · Palette generator →

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