#7157E9#7157E9

#7157E9 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.5% C 0.210 H 285.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7157E9
RGBrgb(113, 87, 233)
HSLhsl(251, 77%, 63%)
HSVhsv(251, 63%, 91%)
CMYKcmyk(51.5%, 62.7%, 0%, 8.6%)
CIE-LABlab(47.25, 47.41, -70.59)
CIE-LCHlch(47.25, 85.03, 303.89°)
OKLaboklab(56.53% 0.0568 -0.2024)
OKLCHoklch(56.53% 0.21 285.7)
XYZxyz(24.9218, 16.2090, 78.8905)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7157E9 #CFE957
analogous
#5786E9 #7157E9 #BA57E9
triadic
#7157E9 #E97157 #57E971
tetradic
#7157E9 #E95786 #CFE957 #57E9BA
square
#7157E9 #E95786 #CFE957 #57E9BA
split-complementary
#7157E9 #E9BA57 #86E957
monochromatic
#3217AF #4321E2 #7157E9 #9F8DF0 #CCC3F7

Accessibility & contrast

On white

4.95
#7157E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#7157E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7157E9
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7157E9#FFFFFF#000000##FFFFFF
##7157E91.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EE
Deuteranopia (green-blind)
#006CE6
Tritanopia (blue-blind)
#427A98
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7157e9;
/* rgb */ color: rgb(113, 87, 233);
/* oklch */ color: oklch(56.5% 0.210 285.7);
Tailwind
colors: {
  custom: {
    50: '#a388f1',
    500: '#7157e9',
    950: '#000000',
  },
}
SCSS
$custom: #7157e9;
$custom-light: #a388f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7157e9",
  "rgb": {
    "r": 113,
    "g": 87,
    "b": 233
  },
  "hsl": {
    "h": 250.685,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.56531,
    "c": 0.21027,
    "h": 285.7
  },
  "luminance": 0.1621
}

Semantic roles & 50–950 ramp

primary
#7157E9
secondary
#DFE8B3
accent
#D90CB5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7157E9

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

Preview Lab → · Contrast checker → · Palette generator →

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