#6A57CD#6A57CD

#6A57CD is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.8% C 0.175 H 286.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#6A57CD
RGBrgb(106, 87, 205)
HSLhsl(250, 54%, 57%)
HSVhsv(250, 58%, 80%)
CMYKcmyk(48.3%, 57.6%, 0%, 19.6%)
CIE-LABlab(44.64, 37.82, -58.89)
CIE-LCHlch(44.64, 69.99, 302.71°)
OKLaboklab(53.84% 0.0492 -0.1683)
OKLCHoklch(53.84% 0.175 286.3)
XYZxyz(20.3683, 14.2874, 59.4303)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A57CD #BACD57
analogous
#577FCD #6A57CD #A557CD
triadic
#6A57CD #CD6A57 #57CD6A
tetradic
#6A57CD #CD577F #BACD57 #57CDA5
square
#6A57CD #CD577F #BACD57 #57CDA5
split-complementary
#6A57CD #CDA557 #7FCD57
monochromatic
#362783 #4935B2 #6A57CD #9486DB #BEB5E9

Accessibility & contrast

On white

5.44
#6A57CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#6A57CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A57CD
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A57CD#FFFFFF#000000##FFFFFF
##6A57CD1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a57cd;
/* rgb */ color: rgb(106, 87, 205);
/* oklch */ color: oklch(53.8% 0.175 286.3);
Tailwind
colors: {
  custom: {
    50: '#9c87dd',
    500: '#6a57cd',
    950: '#000000',
  },
}
SCSS
$custom: #6a57cd;
$custom-light: #9c87dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a57cd",
  "rgb": {
    "r": 106,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 249.661,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53844,
    "c": 0.17532,
    "h": 286.3
  },
  "luminance": 0.14288
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A57CD

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

Preview Lab → · Contrast checker → · Palette generator →

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