#6B57E9#6B57E9

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

Color values

HEX#6B57E9
RGBrgb(107, 87, 233)
HSLhsl(248, 77%, 63%)
HSVhsv(248, 63%, 91%)
CMYKcmyk(54.1%, 62.7%, 0%, 8.6%)
CIE-LABlab(46.74, 46.35, -71.43)
CIE-LCHlch(46.74, 85.15, 302.98°)
OKLaboklab(56.04% 0.0491 -0.2051)
OKLCHoklch(56.04% 0.211 283.5)
XYZxyz(24.1751, 15.8240, 78.8555)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B57E9 #D5E957
analogous
#578CE9 #6B57E9 #B457E9
triadic
#6B57E9 #E96B57 #57E96B
tetradic
#6B57E9 #E9578C #D5E957 #57E9B4
square
#6B57E9 #E9578C #D5E957 #57E9B4
split-complementary
#6B57E9 #E9B457 #8CE957
monochromatic
#2C17AF #3B21E2 #6B57E9 #9B8DF0 #CAC3F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B57E9#FFFFFF#000000##FFFFFF
##6B57E91.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)
#0073EE
Deuteranopia (green-blind)
#006AE6
Tritanopia (blue-blind)
#327B98
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6b57e9;
/* rgb */ color: rgb(107, 87, 233);
/* oklch */ color: oklch(56.0% 0.211 283.5);
Tailwind
colors: {
  custom: {
    50: '#a087f1',
    500: '#6b57e9',
    950: '#000000',
  },
}
SCSS
$custom: #6b57e9;
$custom-light: #a087f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b57e9",
  "rgb": {
    "r": 107,
    "g": 87,
    "b": 233
  },
  "hsl": {
    "h": 248.219,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.56039,
    "c": 0.21091,
    "h": 283.5
  },
  "luminance": 0.15825
}

Semantic roles & 50–950 ramp

primary
#6B57E9
secondary
#E1E8B3
accent
#D90CBD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6B57E9

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

Preview Lab → · Contrast checker → · Palette generator →

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