#6B57CD#6B57CD

#6B57CD is a mid, vivid violet. Relative luminance 0.143; OKLCH L 53.9% C 0.175 H 286.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#6B57CD
RGBrgb(107, 87, 205)
HSLhsl(250, 54%, 57%)
HSVhsv(250, 58%, 80%)
CMYKcmyk(47.8%, 57.6%, 0%, 19.6%)
CIE-LABlab(44.73, 38.03, -58.75)
CIE-LCHlch(44.73, 69.98, 302.92°)
OKLaboklab(53.93% 0.0505 -0.1678)
OKLCHoklch(53.93% 0.175 286.7)
XYZxyz(20.4878, 14.3491, 59.4359)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B57CD #B9CD57
analogous
#577ECD #6B57CD #A657CD
triadic
#6B57CD #CD6B57 #57CD6B
tetradic
#6B57CD #CD577E #B9CD57 #57CDA6
square
#6B57CD #CD577E #B9CD57 #57CDA6
split-complementary
#6B57CD #CDA657 #7ECD57
monochromatic
#362783 #4A35B2 #6B57CD #9586DB #BEB5E9

Accessibility & contrast

On white

5.43
#6B57CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6B57CD
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B57CD#FFFFFF#000000##FFFFFF
##6B57CD1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b57cd;
/* rgb */ color: rgb(107, 87, 205);
/* oklch */ color: oklch(53.9% 0.175 286.7);
Tailwind
colors: {
  custom: {
    50: '#9c87dd',
    500: '#6b57cd',
    950: '#000000',
  },
}
SCSS
$custom: #6b57cd;
$custom-light: #9c87dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b57cd",
  "rgb": {
    "r": 107,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 250.169,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5393,
    "c": 0.17525,
    "h": 286.7
  },
  "luminance": 0.1435
}

Semantic roles & 50–950 ramp

primary
#6B57CD
secondary
#D0D8A8
accent
#DD4AC5
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6B57CD

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

Preview Lab → · Contrast checker → · Palette generator →

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