#7131B7#7131B7

#7131B7 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.4% C 0.198 H 300.7°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#7131B7
RGBrgb(113, 49, 183)
HSLhsl(269, 58%, 45%)
HSVhsv(269, 73%, 72%)
CMYKcmyk(38.3%, 73.2%, 0%, 28.2%)
CIE-LABlab(36.23, 53.55, -59.68)
CIE-LCHlch(36.23, 80.18, 311.90°)
OKLaboklab(47.42% 0.1012 -0.1703)
OKLCHoklch(47.42% 0.198 300.7)
XYZxyz(16.4535, 9.1261, 45.6852)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7131B7 #77B731
analogous
#3134B7 #7131B7 #B431B7
triadic
#7131B7 #B77131 #31B771
tetradic
#7131B7 #B73134 #77B731 #31B7B4
square
#7131B7 #B73134 #77B731 #31B7B4
split-complementary
#7131B7 #B7B431 #34B731
monochromatic
#351756 #532487 #7131B7 #9054D1 #AF84DE

Accessibility & contrast

On white

7.43
#7131B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7131B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7131B7
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7131B7#FFFFFF#000000##FFFFFF
##7131B71.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#615371
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7131b7;
/* rgb */ color: rgb(113, 49, 183);
/* oklch */ color: oklch(47.4% 0.198 300.7);
Tailwind
colors: {
  custom: {
    50: '#a06fce',
    500: '#7131b7',
    950: '#000000',
  },
}
SCSS
$custom: #7131b7;
$custom-light: #a06fce;
$custom-dark: #000000;
JSON
{
  "hex": "#7131b7",
  "rgb": {
    "r": 113,
    "g": 49,
    "b": 183
  },
  "hsl": {
    "h": 268.657,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47419,
    "c": 0.19811,
    "h": 300.7
  },
  "luminance": 0.09126
}

Semantic roles & 50–950 ramp

primary
#7131B7
secondary
#A4C87C
accent
#E14797
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #7131B7

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

Preview Lab → · Contrast checker → · Palette generator →

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