#6B57E8#6B57E8

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

Color values

HEX#6B57E8
RGBrgb(107, 87, 232)
HSLhsl(248, 76%, 63%)
HSVhsv(248, 63%, 91%)
CMYKcmyk(53.9%, 62.5%, 0%, 9%)
CIE-LABlab(46.67, 46.05, -70.99)
CIE-LCHlch(46.67, 84.62, 302.97°)
OKLaboklab(55.96% 0.0492 -0.2038)
OKLCHoklch(55.96% 0.21 283.6)
XYZxyz(24.0326, 15.7670, 78.1053)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B57E8 #D4E857
analogous
#578BE8 #6B57E8 #B457E8
triadic
#6B57E8 #E86B57 #57E86B
tetradic
#6B57E8 #E8578B #D4E857 #57E8B4
square
#6B57E8 #E8578B #D4E857 #57E8B4
split-complementary
#6B57E8 #E8B457 #8BE857
monochromatic
#2C18AD #3C21E1 #6B57E8 #9A8DEF #CAC3F7

Accessibility & contrast

On white

5.06
#6B57E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#6B57E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B57E8
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B57E8#FFFFFF#000000##FFFFFF
##6B57E81.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073ED
Deuteranopia (green-blind)
#006AE5
Tritanopia (blue-blind)
#337A98
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6b57e8;
/* rgb */ color: rgb(107, 87, 232);
/* oklch */ color: oklch(56.0% 0.210 283.6);
Tailwind
colors: {
  custom: {
    50: '#a087f0',
    500: '#6b57e8',
    950: '#000000',
  },
}
SCSS
$custom: #6b57e8;
$custom-light: #a087f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b57e8",
  "rgb": {
    "r": 107,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 248.276,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55961,
    "c": 0.20967,
    "h": 283.6
  },
  "luminance": 0.15768
}

Semantic roles & 50–950 ramp

primary
#6B57E8
secondary
#E0E8B3
accent
#D80DBC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6B57E8

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

Preview Lab → · Contrast checker → · Palette generator →

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