#6A57F2#6A57F2

#6A57F2 is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.7% C 0.222 H 282.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#6A57F2
RGBrgb(106, 87, 242)
HSLhsl(247, 86%, 65%)
HSVhsv(247, 64%, 95%)
CMYKcmyk(56.2%, 64%, 0%, 5.1%)
CIE-LABlab(47.35, 48.88, -75.50)
CIE-LCHlch(47.35, 89.94, 302.92°)
OKLaboklab(56.68% 0.047 -0.2171)
OKLCHoklch(56.68% 0.222 282.2)
XYZxyz(25.3741, 16.2897, 85.7943)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A57F2 #DFF257
analogous
#5792F2 #6A57F2 #B857F2
triadic
#6A57F2 #F26A57 #57F26A
tetradic
#6A57F2 #F25792 #DFF257 #57F2B8
square
#6A57F2 #F25792 #DFF257 #57F2B8
split-complementary
#6A57F2 #F2B857 #92F257
monochromatic
#250FC0 #381EEE #6A57F2 #9C90F6 #CFC9FB

Accessibility & contrast

On white

4.93
#6A57F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#6A57F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A57F2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A57F2#FFFFFF#000000##FFFFFF
##6A57F21.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F7
Deuteranopia (green-blind)
#006BEF
Tritanopia (blue-blind)
#217E9D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6a57f2;
/* rgb */ color: rgb(106, 87, 242);
/* oklch */ color: oklch(56.7% 0.222 282.2);
Tailwind
colors: {
  custom: {
    50: '#a188f7',
    500: '#6a57f2',
    950: '#000000',
  },
}
SCSS
$custom: #6a57f2;
$custom-light: #a188f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a57f2",
  "rgb": {
    "r": 106,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 247.355,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.56677,
    "c": 0.22212,
    "h": 282.2
  },
  "luminance": 0.16291
}

Semantic roles & 50–950 ramp

primary
#6A57F2
secondary
#E7EDB8
accent
#E203C7
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6A57F2

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

Preview Lab → · Contrast checker → · Palette generator →

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