#6A57DA#6A57DA

#6A57DA is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.8% C 0.192 H 284.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#6A57DA
RGBrgb(106, 87, 218)
HSLhsl(249, 64%, 60%)
HSVhsv(249, 60%, 85%)
CMYKcmyk(51.4%, 60.1%, 0%, 14.5%)
CIE-LABlab(45.55, 41.69, -64.86)
CIE-LCHlch(45.55, 77.10, 302.73°)
OKLaboklab(54.8% 0.0488 -0.1858)
OKLCHoklch(54.8% 0.192 284.7)
XYZxyz(22.0031, 14.9414, 68.0406)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A57DA #C7DA57
analogous
#5786DA #6A57DA #AB57DA
triadic
#6A57DA #DA6A57 #57DA6A
tetradic
#6A57DA #DA5786 #C7DA57 #57DAAB
square
#6A57DA #DA5786 #C7DA57 #57DAAB
split-complementary
#6A57DA #DAAB57 #86DA57
monochromatic
#322196 #432CC8 #6A57DA #9689E5 #C3BBF0

Accessibility & contrast

On white

5.27
#6A57DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#6A57DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A57DA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A57DA#FFFFFF#000000##FFFFFF
##6A57DA1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DE
Deuteranopia (green-blind)
#0068D7
Tritanopia (blue-blind)
#3E7690
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6a57da;
/* rgb */ color: rgb(106, 87, 218);
/* oklch */ color: oklch(54.8% 0.192 284.7);
Tailwind
colors: {
  custom: {
    50: '#9d87e6',
    500: '#6a57da',
    950: '#000000',
  },
}
SCSS
$custom: #6a57da;
$custom-light: #9d87e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a57da",
  "rgb": {
    "r": 106,
    "g": 87,
    "b": 218
  },
  "hsl": {
    "h": 248.702,
    "s": 63.902,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54803,
    "c": 0.19214,
    "h": 284.7
  },
  "luminance": 0.14943
}

Semantic roles & 50–950 ramp

primary
#6A57DA
secondary
#D8E0AD
accent
#E741CF
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6A57DA

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

Preview Lab → · Contrast checker → · Palette generator →

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