#7157FE#7157FE

#7157FE is a mid, highly saturated blue. Relative luminance 0.175; OKLCH L 58.2% C 0.236 H 283.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7157FE
RGBrgb(113, 87, 254)
HSLhsl(249, 99%, 67%)
HSVhsv(249, 66%, 100%)
CMYKcmyk(55.5%, 65.7%, 0%, 0.4%)
CIE-LABlab(48.86, 53.52, -79.71)
CIE-LCHlch(48.86, 96.01, 303.88°)
OKLaboklab(58.2% 0.0546 -0.2292)
OKLCHoklch(58.2% 0.236 283.4)
XYZxyz(28.1021, 17.4811, 95.6401)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7157FE #E4FE57
analogous
#5791FE #7157FE #C457FE
triadic
#7157FE #FE7157 #57FE71
tetradic
#7157FE #FE5791 #E4FE57 #57FEC4
square
#7157FE #FE5791 #E4FE57 #57FEC4
split-complementary
#7157FE #FEC457 #91FE57
monochromatic
#2301D9 #3E1AFE #7157FE #A494FE #D8D1FF

Accessibility & contrast

On white

4.67
#7157FE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#7157FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7157FE
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7157FE#FFFFFF#000000##FFFFFF
##7157FE1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#006EFB
Tritanopia (blue-blind)
#2A82A3
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7157fe;
/* rgb */ color: rgb(113, 87, 254);
/* oklch */ color: oklch(58.2% 0.236 283.4);
Tailwind
colors: {
  custom: {
    50: '#a688ff',
    500: '#7157fe',
    950: '#000000',
  },
}
SCSS
$custom: #7157fe;
$custom-light: #a688ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7157fe",
  "rgb": {
    "r": 113,
    "g": 87,
    "b": 254
  },
  "hsl": {
    "h": 249.341,
    "s": 98.817,
    "l": 66.863
  },
  "oklch": {
    "l": 0.58201,
    "c": 0.23565,
    "h": 283.4
  },
  "luminance": 0.17483
}

Semantic roles & 50–950 ramp

primary
#7157FE
secondary
#EBF3BE
accent
#E600C2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #7157FE

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

Preview Lab → · Contrast checker → · Palette generator →

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