#6157FA#6157FA

#6157FA is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.7% C 0.233 H 278.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#6157FA
RGBrgb(97, 87, 250)
HSLhsl(244, 94%, 66%)
HSVhsv(244, 65%, 98%)
CMYKcmyk(61.2%, 65.2%, 0%, 2%)
CIE-LABlab(47.31, 49.96, -80.07)
CIE-LCHlch(47.31, 94.37, 301.96°)
OKLaboklab(56.67% 0.035 -0.2307)
OKLCHoklch(56.67% 0.233 278.6)
XYZxyz(25.5878, 16.2579, 92.2136)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6157FA #F0FA57
analogous
#579EFA #6157FA #B257FA
triadic
#6157FA #FA6157 #57FA61
tetradic
#6157FA #FA579E #F0FA57 #57FAB2
square
#6157FA #FA579E #F0FA57 #57FAB2
split-complementary
#6157FA #FAB257 #9EFA57
monochromatic
#1306D0 #291CF8 #6157FA #9992FC #D1CEFE

Accessibility & contrast

On white

4.94
#6157FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#6157FA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6157FA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6157FA#FFFFFF#000000##FFFFFF
##6157FA1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FF
Deuteranopia (green-blind)
#006AF7
Tritanopia (blue-blind)
#0081A1
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6157fa;
/* rgb */ color: rgb(97, 87, 250);
/* oklch */ color: oklch(56.7% 0.233 278.6);
Tailwind
colors: {
  custom: {
    50: '#9d87fd',
    500: '#6157fa',
    950: '#000000',
  },
}
SCSS
$custom: #6157fa;
$custom-light: #9d87fd;
$custom-dark: #000000;
JSON
{
  "hex": "#6157fa",
  "rgb": {
    "r": 97,
    "g": 87,
    "b": 250
  },
  "hsl": {
    "h": 243.681,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.56674,
    "c": 0.23339,
    "h": 278.6
  },
  "luminance": 0.1626
}

Semantic roles & 50–950 ramp

primary
#6157FA
secondary
#EEF1BC
accent
#E600D7
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #6157FA

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

Preview Lab → · Contrast checker → · Palette generator →

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