#7131C4#7131C4

#7131C4 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.5% C 0.212 H 297.6°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#7131C4
RGBrgb(113, 49, 196)
HSLhsl(266, 60%, 48%)
HSVhsv(266, 75%, 77%)
CMYKcmyk(42.3%, 75%, 0%, 23.1%)
CIE-LABlab(37.28, 56.76, -65.60)
CIE-LCHlch(37.28, 86.75, 310.87°)
OKLaboklab(48.49% 0.0983 -0.1877)
OKLCHoklch(48.49% 0.212 297.6)
XYZxyz(17.8696, 9.6925, 53.1432)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7131C4 #84C431
analogous
#313BC4 #7131C4 #BA31C4
triadic
#7131C4 #C47131 #31C471
tetradic
#7131C4 #C4313B #84C431 #31C4BA
square
#7131C4 #C4313B #84C431 #31C4BA
split-complementary
#7131C4 #C4BA31 #3BC431
monochromatic
#391962 #552593 #7131C4 #915CD6 #B28DE2

Accessibility & contrast

On white

7.15
#7131C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7131C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7131C4
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7131C4#FFFFFF#000000##FFFFFF
##7131C41.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C8
Deuteranopia (green-blind)
#0056C1
Tritanopia (blue-blind)
#5C5879
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7131c4;
/* rgb */ color: rgb(113, 49, 196);
/* oklch */ color: oklch(48.5% 0.212 297.6);
Tailwind
colors: {
  custom: {
    50: '#a170d7',
    500: '#7131c4',
    950: '#000000',
  },
}
SCSS
$custom: #7131c4;
$custom-light: #a170d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7131c4",
  "rgb": {
    "r": 113,
    "g": 49,
    "b": 196
  },
  "hsl": {
    "h": 266.122,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48494,
    "c": 0.21185,
    "h": 297.6
  },
  "luminance": 0.09693
}

Semantic roles & 50–950 ramp

primary
#7131C4
secondary
#ADCD84
accent
#E3459E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7131C4

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

Preview Lab → · Contrast checker → · Palette generator →

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