#6B57EF#6B57EF

#6B57EF is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.5% C 0.218 H 282.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#6B57EF
RGBrgb(107, 87, 239)
HSLhsl(248, 83%, 64%)
HSVhsv(248, 64%, 94%)
CMYKcmyk(55.2%, 63.6%, 0%, 6.3%)
CIE-LABlab(47.20, 48.14, -74.06)
CIE-LCHlch(47.20, 88.33, 303.03°)
OKLaboklab(56.52% 0.0486 -0.2128)
OKLCHoklch(56.52% 0.218 282.9)
XYZxyz(25.0468, 16.1726, 83.4464)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B57EF #DBEF57
analogous
#578FEF #6B57EF #B757EF
triadic
#6B57EF #EF6B57 #57EF6B
tetradic
#6B57EF #EF578F #DBEF57 #57EFB7
square
#6B57EF #EF578F #DBEF57 #57EFB7
split-complementary
#6B57EF #EFB757 #8FEF57
monochromatic
#2812BA #3A1FEA #6B57EF #9C8FF4 #CDC7FA

Accessibility & contrast

On white

4.96
#6B57EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#6B57EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B57EF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B57EF#FFFFFF#000000##FFFFFF
##6B57EF1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F4
Deuteranopia (green-blind)
#006BEC
Tritanopia (blue-blind)
#2A7D9B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6b57ef;
/* rgb */ color: rgb(107, 87, 239);
/* oklch */ color: oklch(56.5% 0.218 282.9);
Tailwind
colors: {
  custom: {
    50: '#a188f5',
    500: '#6b57ef',
    950: '#000000',
  },
}
SCSS
$custom: #6b57ef;
$custom-light: #a188f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b57ef",
  "rgb": {
    "r": 107,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 247.895,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.56515,
    "c": 0.21832,
    "h": 282.9
  },
  "luminance": 0.16174
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B57EF

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

Preview Lab → · Contrast checker → · Palette generator →

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