#6A57EA#6A57EA

#6A57EA is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 56.0% C 0.212 H 283.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6A57EA
RGBrgb(106, 87, 234)
HSLhsl(248, 78%, 63%)
HSVhsv(248, 63%, 92%)
CMYKcmyk(54.7%, 62.8%, 0%, 8.2%)
CIE-LABlab(46.74, 46.48, -72.01)
CIE-LCHlch(46.74, 85.71, 302.84°)
OKLaboklab(56.04% 0.0478 -0.2068)
OKLCHoklch(56.04% 0.212 283)
XYZxyz(24.1988, 15.8196, 79.6043)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A57EA #D7EA57
analogous
#578DEA #6A57EA #B357EA
triadic
#6A57EA #EA6A57 #57EA6A
tetradic
#6A57EA #EA578D #D7EA57 #57EAB3
square
#6A57EA #EA578D #D7EA57 #57EAB3
split-complementary
#6A57EA #EAB357 #8DEA57
monochromatic
#2A16B1 #3A21E3 #6A57EA #9A8DF1 #CAC4F8

Accessibility & contrast

On white

5.04
#6A57EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#6A57EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A57EA
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A57EA#FFFFFF#000000##FFFFFF
##6A57EA1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EF
Deuteranopia (green-blind)
#006AE7
Tritanopia (blue-blind)
#2D7B99
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6a57ea;
/* rgb */ color: rgb(106, 87, 234);
/* oklch */ color: oklch(56.0% 0.212 283.0);
Tailwind
colors: {
  custom: {
    50: '#9f87f2',
    500: '#6a57ea',
    950: '#000000',
  },
}
SCSS
$custom: #6a57ea;
$custom-light: #9f87f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a57ea",
  "rgb": {
    "r": 106,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 247.755,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56038,
    "c": 0.21227,
    "h": 283
  },
  "luminance": 0.15821
}

Semantic roles & 50–950 ramp

primary
#6A57EA
secondary
#E2E9B4
accent
#DA0BBF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6A57EA

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

Preview Lab → · Contrast checker → · Palette generator →

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