#7157BE#7157BE

#7157BE is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.4% C 0.155 H 291.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7157BE
RGBrgb(113, 87, 190)
HSLhsl(255, 44%, 54%)
HSVhsv(255, 54%, 75%)
CMYKcmyk(40.5%, 54.2%, 0%, 25.5%)
CIE-LABlab(44.30, 35.05, -50.74)
CIE-LCHlch(44.30, 61.67, 304.63°)
OKLaboklab(53.43% 0.058 -0.1441)
OKLCHoklch(53.43% 0.155 291.9)
XYZxyz(19.5100, 14.0443, 50.3881)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7157BE #A4BE57
analogous
#5771BE #7157BE #A557BE
triadic
#7157BE #BE7157 #57BE71
tetradic
#7157BE #BE5771 #A4BE57 #57BEA5
square
#7157BE #BE5771 #A4BE57 #57BEA5
split-complementary
#7157BE #BEA557 #71BE57
monochromatic
#3C2B6F #543C9C #7157BE #9683CF #BCAFE0

Accessibility & contrast

On white

5.51
#7157BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7157BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7157BE
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7157BE#FFFFFF#000000##FFFFFF
##7157BE1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276AC2
Deuteranopia (green-blind)
#2C67BC
Tritanopia (blue-blind)
#5C6D82
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7157be;
/* rgb */ color: rgb(113, 87, 190);
/* oklch */ color: oklch(53.4% 0.155 291.9);
Tailwind
colors: {
  custom: {
    50: '#9e87d2',
    500: '#7157be',
    950: '#000000',
  },
}
SCSS
$custom: #7157be;
$custom-light: #9e87d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7157be",
  "rgb": {
    "r": 113,
    "g": 87,
    "b": 190
  },
  "hsl": {
    "h": 255.146,
    "s": 44.206,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53428,
    "c": 0.15533,
    "h": 291.9
  },
  "luminance": 0.14045
}

Semantic roles & 50–950 ramp

primary
#7157BE
secondary
#C3CEA3
accent
#D454B4
background
#FAF8FD
surface
#F3EFFA
border
#CDCAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7157BE

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

Preview Lab → · Contrast checker → · Palette generator →

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