#7131C7#7131C7

#7131C7 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.7% C 0.215 H 297.0°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#7131C7
RGBrgb(113, 49, 199)
HSLhsl(266, 60%, 49%)
HSVhsv(266, 75%, 78%)
CMYKcmyk(43.2%, 75.4%, 0%, 22%)
CIE-LABlab(37.54, 57.51, -66.94)
CIE-LCHlch(37.54, 88.25, 310.67°)
OKLaboklab(48.75% 0.0975 -0.1916)
OKLCHoklch(48.75% 0.215 297)
XYZxyz(18.2145, 9.8305, 54.9596)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7131C7 #87C731
analogous
#313CC7 #7131C7 #BC31C7
triadic
#7131C7 #C77131 #31C771
tetradic
#7131C7 #C7313C #87C731 #31C7BC
square
#7131C7 #C7313C #87C731 #31C7BC
split-complementary
#7131C7 #C7BC31 #3CC731
monochromatic
#391965 #552596 #7131C7 #925ED7 #B38FE3

Accessibility & contrast

On white

7.08
#7131C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7131C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7131C7
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7131C7#FFFFFF#000000##FFFFFF
##7131C71.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CB
Deuteranopia (green-blind)
#0056C4
Tritanopia (blue-blind)
#5A597A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7131c7;
/* rgb */ color: rgb(113, 49, 199);
/* oklch */ color: oklch(48.7% 0.215 297.0);
Tailwind
colors: {
  custom: {
    50: '#a170d9',
    500: '#7131c7',
    950: '#000000',
  },
}
SCSS
$custom: #7131c7;
$custom-light: #a170d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7131c7",
  "rgb": {
    "r": 113,
    "g": 49,
    "b": 199
  },
  "hsl": {
    "h": 265.6,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48748,
    "c": 0.215,
    "h": 297
  },
  "luminance": 0.09831
}

Semantic roles & 50–950 ramp

primary
#7131C7
secondary
#AFCE86
accent
#E444A0
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7131C7

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

Preview Lab → · Contrast checker → · Palette generator →

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