#6A57FD#6A57FD

#6A57FD is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.6% C 0.235 H 281.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#6A57FD
RGBrgb(106, 87, 253)
HSLhsl(247, 98%, 67%)
HSVhsv(247, 66%, 99%)
CMYKcmyk(58.1%, 65.6%, 0%, 0.8%)
CIE-LABlab(48.22, 52.17, -80.22)
CIE-LCHlch(48.22, 95.69, 303.04°)
OKLaboklab(57.58% 0.0458 -0.2309)
OKLCHoklch(57.58% 0.235 281.2)
XYZxyz(27.0761, 16.9705, 94.7583)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A57FD #EAFD57
analogous
#5797FD #6A57FD #BD57FD
triadic
#6A57FD #FD6A57 #57FD6A
tetradic
#6A57FD #FD5797 #EAFD57 #57FDBD
square
#6A57FD #FD5797 #EAFD57 #57FDBD
split-complementary
#6A57FD #FDBD57 #97FD57
monochromatic
#1B03D7 #341BFC #6A57FD #A093FE #D5D0FE

Accessibility & contrast

On white

4.78
#6A57FD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#6A57FD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A57FD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A57FD#FFFFFF#000000##FFFFFF
##6A57FD1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#006CFA
Tritanopia (blue-blind)
#0082A3
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6a57fd;
/* rgb */ color: rgb(106, 87, 253);
/* oklch */ color: oklch(57.6% 0.235 281.2);
Tailwind
colors: {
  custom: {
    50: '#a288ff',
    500: '#6a57fd',
    950: '#000000',
  },
}
SCSS
$custom: #6a57fd;
$custom-light: #a288ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6a57fd",
  "rgb": {
    "r": 106,
    "g": 87,
    "b": 253
  },
  "hsl": {
    "h": 246.867,
    "s": 97.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.57577,
    "c": 0.23545,
    "h": 281.2
  },
  "luminance": 0.16972
}

Semantic roles & 50–950 ramp

primary
#6A57FD
secondary
#EDF3BD
accent
#E600CB
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #6A57FD

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

Preview Lab → · Contrast checker → · Palette generator →

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