#6B57EA#6B57EA

#6B57EA is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.1% C 0.212 H 283.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#6B57EA
RGBrgb(107, 87, 234)
HSLhsl(248, 78%, 63%)
HSVhsv(248, 63%, 92%)
CMYKcmyk(54.3%, 62.8%, 0%, 8.2%)
CIE-LABlab(46.82, 46.65, -71.87)
CIE-LCHlch(46.82, 85.68, 302.99°)
OKLaboklab(56.12% 0.049 -0.2064)
OKLCHoklch(56.12% 0.212 283.4)
XYZxyz(24.3183, 15.8813, 79.6099)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B57EA #D6EA57
analogous
#578DEA #6B57EA #B457EA
triadic
#6B57EA #EA6B57 #57EA6B
tetradic
#6B57EA #EA578D #D6EA57 #57EAB4
square
#6B57EA #EA578D #D6EA57 #57EAB4
split-complementary
#6B57EA #EAB457 #8DEA57
monochromatic
#2B16B1 #3B21E3 #6B57EA #9B8DF1 #CBC4F8

Accessibility & contrast

On white

5.03
#6B57EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#6B57EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B57EA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B57EA#FFFFFF#000000##FFFFFF
##6B57EA1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b57ea;
/* rgb */ color: rgb(107, 87, 234);
/* oklch */ color: oklch(56.1% 0.212 283.4);
Tailwind
colors: {
  custom: {
    50: '#a087f2',
    500: '#6b57ea',
    950: '#000000',
  },
}
SCSS
$custom: #6b57ea;
$custom-light: #a087f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b57ea",
  "rgb": {
    "r": 107,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 248.163,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56118,
    "c": 0.21215,
    "h": 283.4
  },
  "luminance": 0.15883
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B57EA

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

Preview Lab → · Contrast checker → · Palette generator →

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