#7131AE#7131AE

#7131AE is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.7% C 0.189 H 303.1°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#7131AE
RGBrgb(113, 49, 174)
HSLhsl(271, 56%, 44%)
HSVhsv(271, 72%, 68%)
CMYKcmyk(35.1%, 71.8%, 0%, 31.8%)
CIE-LABlab(35.52, 51.36, -55.48)
CIE-LCHlch(35.52, 75.60, 312.79°)
OKLaboklab(46.7% 0.1029 -0.158)
OKLCHoklch(46.7% 0.189 303.1)
XYZxyz(15.5466, 8.7633, 40.9086)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7131AE #6EAE31
analogous
#3231AE #7131AE #AE31AC
triadic
#7131AE #AE7131 #31AE71
tetradic
#7131AE #AE3231 #6EAE31 #31ACAE
square
#7131AE #AE3231 #6EAE31 #31ACAE
split-complementary
#7131AE #ACAE31 #31AE32
monochromatic
#33164E #52247E #7131AE #904FCD #AE7FDB

Accessibility & contrast

On white

7.63
#7131AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7131AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7131AE
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7131AE#FFFFFF#000000##FFFFFF
##7131AE1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#0053AB
Tritanopia (blue-blind)
#654F6C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7131ae;
/* rgb */ color: rgb(113, 49, 174);
/* oklch */ color: oklch(46.7% 0.189 303.1);
Tailwind
colors: {
  custom: {
    50: '#9f6fc7',
    500: '#7131ae',
    950: '#000000',
  },
}
SCSS
$custom: #7131ae;
$custom-light: #9f6fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7131ae",
  "rgb": {
    "r": 113,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 270.72,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46703,
    "c": 0.18854,
    "h": 303.1
  },
  "luminance": 0.08763
}

Semantic roles & 50–950 ramp

primary
#7131AE
secondary
#9CC477
accent
#DF4892
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7131AE

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

Preview Lab → · Contrast checker → · Palette generator →

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