#7157AE#7157AE

#7157AE is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.4% C 0.134 H 295.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7157AE
RGBrgb(113, 87, 174)
HSLhsl(258, 35%, 51%)
HSVhsv(258, 50%, 68%)
CMYKcmyk(35.1%, 50%, 0%, 31.8%)
CIE-LABlab(43.33, 30.61, -42.92)
CIE-LCHlch(43.33, 52.72, 305.50°)
OKLaboklab(52.4% 0.0569 -0.1211)
OKLCHoklch(52.4% 0.134 295.2)
XYZxyz(17.8563, 13.3828, 41.6786)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7157AE #94AE57
analogous
#5768AE #7157AE #9C57AE
triadic
#7157AE #AE7157 #57AE71
tetradic
#7157AE #AE5768 #94AE57 #57AE9C
square
#7157AE #AE5768 #94AE57 #57AE9C
split-complementary
#7157AE #AE9C57 #68AE57
monochromatic
#3C2D5E #564187 #7157AE #9480C2 #B7AAD6

Accessibility & contrast

On white

5.71
#7157AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7157AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7157AE
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7157AE#FFFFFF#000000##FFFFFF
##7157AE1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3767B1
Deuteranopia (green-blind)
#3D65AC
Tritanopia (blue-blind)
#63687A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7157ae;
/* rgb */ color: rgb(113, 87, 174);
/* oklch */ color: oklch(52.4% 0.134 295.2);
Tailwind
colors: {
  custom: {
    50: '#9d87c6',
    500: '#7157ae',
    950: '#000000',
  },
}
SCSS
$custom: #7157ae;
$custom-light: #9d87c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7157ae",
  "rgb": {
    "r": 113,
    "g": 87,
    "b": 174
  },
  "hsl": {
    "h": 257.931,
    "s": 34.94,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52402,
    "c": 0.13385,
    "h": 295.2
  },
  "luminance": 0.13383
}

Semantic roles & 50–950 ramp

primary
#7157AE
secondary
#B8C49D
accent
#CB5DAA
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #7157AE

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

Preview Lab → · Contrast checker → · Palette generator →

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