#6157E7#6157E7

#6157E7 is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.1% C 0.210 H 280.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#6157E7
RGBrgb(97, 87, 231)
HSLhsl(244, 75%, 62%)
HSVhsv(244, 62%, 91%)
CMYKcmyk(58%, 62.3%, 0%, 9.4%)
CIE-LABlab(45.81, 44.07, -71.86)
CIE-LCHlch(45.81, 84.30, 301.52°)
OKLaboklab(55.11% 0.0368 -0.2067)
OKLCHoklch(55.11% 0.21 280.1)
XYZxyz(22.7572, 15.1257, 77.3062)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6157E7 #DDE757
analogous
#5795E7 #6157E7 #A957E7
triadic
#6157E7 #E76157 #57E761
tetradic
#6157E7 #E75795 #DDE757 #57E7A9
square
#6157E7 #E75795 #DDE757 #57E7A9
split-complementary
#6157E7 #E7A957 #95E757
monochromatic
#2318AB #2F21DF #6157E7 #938DEF #C6C2F6

Accessibility & contrast

On white

5.22
#6157E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#6157E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6157E7
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6157E7#FFFFFF#000000##FFFFFF
##6157E71.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EC
Deuteranopia (green-blind)
#0067E4
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6157e7;
/* rgb */ color: rgb(97, 87, 231);
/* oklch */ color: oklch(55.1% 0.210 280.1);
Tailwind
colors: {
  custom: {
    50: '#9a87f0',
    500: '#6157e7',
    950: '#000000',
  },
}
SCSS
$custom: #6157e7;
$custom-light: #9a87f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6157e7",
  "rgb": {
    "r": 97,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 244.167,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.55112,
    "c": 0.20992,
    "h": 280.1
  },
  "luminance": 0.15127
}

Semantic roles & 50–950 ramp

primary
#6157E7
secondary
#E4E7B3
accent
#D70EC9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6157E7

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

Preview Lab → · Contrast checker → · Palette generator →

#6157E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva