#7157F4#7157F4

#7157F4 is a mid, highly saturated blue. Relative luminance 0.169; OKLCH L 57.4% C 0.224 H 284.4°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7157F4
RGBrgb(113, 87, 244)
HSLhsl(250, 88%, 65%)
HSVhsv(250, 64%, 96%)
CMYKcmyk(53.7%, 64.3%, 0%, 4.3%)
CIE-LABlab(48.08, 50.61, -75.41)
CIE-LCHlch(48.08, 90.82, 303.87°)
OKLaboklab(57.39% 0.0557 -0.2166)
OKLCHoklch(57.39% 0.224 284.4)
XYZxyz(26.5424, 16.8572, 87.4256)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7157F4 #DAF457
analogous
#578CF4 #7157F4 #BF57F4
triadic
#7157F4 #F47157 #57F471
tetradic
#7157F4 #F4578C #DAF457 #57F4BF
square
#7157F4 #F4578C #DAF457 #57F4BF
split-complementary
#7157F4 #F4BF57 #8CF457
monochromatic
#2B0DC4 #401EF0 #7157F4 #A290F8 #D2CAFC

Accessibility & contrast

On white

4.80
#7157F4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#7157F4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7157F4
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7157F4#FFFFFF#000000##FFFFFF
##7157F41.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F9
Deuteranopia (green-blind)
#006DF1
Tritanopia (blue-blind)
#377E9E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7157f4;
/* rgb */ color: rgb(113, 87, 244);
/* oklch */ color: oklch(57.4% 0.224 284.4);
Tailwind
colors: {
  custom: {
    50: '#a588f9',
    500: '#7157f4',
    950: '#000000',
  },
}
SCSS
$custom: #7157f4;
$custom-light: #a588f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7157f4",
  "rgb": {
    "r": 113,
    "g": 87,
    "b": 244
  },
  "hsl": {
    "h": 249.936,
    "s": 87.709,
    "l": 64.902
  },
  "oklch": {
    "l": 0.57394,
    "c": 0.22368,
    "h": 284.4
  },
  "luminance": 0.16859
}

Semantic roles & 50–950 ramp

primary
#7157F4
secondary
#E5EEB9
accent
#E401BF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7157F4

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

Preview Lab → · Contrast checker → · Palette generator →

#7157F4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva