#6157ED#6157ED

#6157ED is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.6% C 0.217 H 279.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#6157ED
RGBrgb(97, 87, 237)
HSLhsl(244, 81%, 64%)
HSVhsv(244, 63%, 93%)
CMYKcmyk(59.1%, 63.3%, 0%, 7.1%)
CIE-LABlab(46.27, 45.94, -74.48)
CIE-LCHlch(46.27, 87.51, 301.66°)
OKLaboklab(55.6% 0.0363 -0.2144)
OKLCHoklch(55.6% 0.217 279.6)
XYZxyz(23.6192, 15.4705, 81.8458)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6157ED #E3ED57
analogous
#5798ED #6157ED #AC57ED
triadic
#6157ED #ED6157 #57ED61
tetradic
#6157ED #ED5798 #E3ED57 #57EDAC
square
#6157ED #ED5798 #E3ED57 #57EDAC
split-complementary
#6157ED #EDAC57 #98ED57
monochromatic
#1E14B6 #2D20E7 #6157ED #958EF3 #C9C6F9

Accessibility & contrast

On white

5.13
#6157ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#6157ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6157ED
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6157ED#FFFFFF#000000##FFFFFF
##6157ED1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F2
Deuteranopia (green-blind)
#0068EA
Tritanopia (blue-blind)
#007D9A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6157ed;
/* rgb */ color: rgb(97, 87, 237);
/* oklch */ color: oklch(55.6% 0.217 279.6);
Tailwind
colors: {
  custom: {
    50: '#9b87f4',
    500: '#6157ed',
    950: '#000000',
  },
}
SCSS
$custom: #6157ed;
$custom-light: #9b87f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6157ed",
  "rgb": {
    "r": 97,
    "g": 87,
    "b": 237
  },
  "hsl": {
    "h": 244,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.55597,
    "c": 0.21742,
    "h": 279.6
  },
  "luminance": 0.15472
}

Semantic roles & 50–950 ramp

primary
#6157ED
secondary
#E7EAB5
accent
#DD09CF
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6157ED

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

Preview Lab → · Contrast checker → · Palette generator →

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