#6A57EF#6A57EF

#6A57EF is a mid, highly saturated blue. Relative luminance 0.161; OKLCH L 56.4% C 0.218 H 282.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#6A57EF
RGBrgb(106, 87, 239)
HSLhsl(248, 83%, 64%)
HSVhsv(248, 64%, 94%)
CMYKcmyk(55.6%, 63.6%, 0%, 6.3%)
CIE-LABlab(47.12, 47.98, -74.19)
CIE-LCHlch(47.12, 88.36, 302.89°)
OKLaboklab(56.44% 0.0473 -0.2133)
OKLCHoklch(56.44% 0.218 282.5)
XYZxyz(24.9272, 16.1110, 83.4408)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A57EF #DCEF57
analogous
#5790EF #6A57EF #B657EF
triadic
#6A57EF #EF6A57 #57EF6A
tetradic
#6A57EF #EF5790 #DCEF57 #57EFB6
square
#6A57EF #EF5790 #DCEF57 #57EFB6
split-complementary
#6A57EF #EFB657 #90EF57
monochromatic
#2712BA #381FEA #6A57EF #9C8FF4 #CDC7FA

Accessibility & contrast

On white

4.97
#6A57EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#6A57EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A57EF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A57EF#FFFFFF#000000##FFFFFF
##6A57EF1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F4
Deuteranopia (green-blind)
#006AEC
Tritanopia (blue-blind)
#267D9B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6a57ef;
/* rgb */ color: rgb(106, 87, 239);
/* oklch */ color: oklch(56.4% 0.218 282.5);
Tailwind
colors: {
  custom: {
    50: '#a087f5',
    500: '#6a57ef',
    950: '#000000',
  },
}
SCSS
$custom: #6a57ef;
$custom-light: #a087f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a57ef",
  "rgb": {
    "r": 106,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 247.5,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.56436,
    "c": 0.21846,
    "h": 282.5
  },
  "luminance": 0.16113
}

Semantic roles & 50–950 ramp

primary
#6A57EF
secondary
#E5ECB6
accent
#DF06C4
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6A57EF

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

Preview Lab → · Contrast checker → · Palette generator →

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