#7131B6#7131B6

#7131B6 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.3% C 0.197 H 301.0°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#7131B6
RGBrgb(113, 49, 182)
HSLhsl(269, 58%, 45%)
HSVhsv(269, 73%, 71%)
CMYKcmyk(37.9%, 73.1%, 0%, 28.6%)
CIE-LABlab(36.15, 53.30, -59.22)
CIE-LCHlch(36.15, 79.68, 311.99°)
OKLaboklab(47.34% 0.1014 -0.1689)
OKLCHoklch(47.34% 0.197 301)
XYZxyz(16.3498, 9.0846, 45.1390)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7131B6 #76B631
analogous
#3133B6 #7131B6 #B331B6
triadic
#7131B6 #B67131 #31B671
tetradic
#7131B6 #B63133 #76B631 #31B6B3
square
#7131B6 #B63133 #76B631 #31B6B3
split-complementary
#7131B6 #B6B331 #33B631
monochromatic
#351756 #532486 #7131B6 #9053D1 #AF84DE

Accessibility & contrast

On white

7.45
#7131B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7131B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7131B6
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7131B6#FFFFFF#000000##FFFFFF
##7131B61.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#625271
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7131b6;
/* rgb */ color: rgb(113, 49, 182);
/* oklch */ color: oklch(47.3% 0.197 301.0);
Tailwind
colors: {
  custom: {
    50: '#a06fcd',
    500: '#7131b6',
    950: '#000000',
  },
}
SCSS
$custom: #7131b6;
$custom-light: #a06fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#7131b6",
  "rgb": {
    "r": 113,
    "g": 49,
    "b": 182
  },
  "hsl": {
    "h": 268.872,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47338,
    "c": 0.19705,
    "h": 301
  },
  "luminance": 0.09085
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7131B6

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

Preview Lab → · Contrast checker → · Palette generator →

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