#7131C5#7131C5

#7131C5 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.6% C 0.213 H 297.4°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#7131C5
RGBrgb(113, 49, 197)
HSLhsl(266, 60%, 48%)
HSVhsv(266, 75%, 77%)
CMYKcmyk(42.6%, 75.1%, 0%, 22.7%)
CIE-LABlab(37.37, 57.01, -66.05)
CIE-LCHlch(37.37, 87.25, 310.80°)
OKLaboklab(48.58% 0.098 -0.189)
OKLCHoklch(48.58% 0.213 297.4)
XYZxyz(17.9838, 9.7382, 53.7447)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7131C5 #85C531
analogous
#313BC5 #7131C5 #BB31C5
triadic
#7131C5 #C57131 #31C571
tetradic
#7131C5 #C5313B #85C531 #31C5BB
square
#7131C5 #C5313B #85C531 #31C5BB
split-complementary
#7131C5 #C5BB31 #3BC531
monochromatic
#391963 #552594 #7131C5 #915DD7 #B28EE3

Accessibility & contrast

On white

7.12
#7131C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#7131C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7131C5
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7131C5#FFFFFF#000000##FFFFFF
##7131C51.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C9
Deuteranopia (green-blind)
#0056C2
Tritanopia (blue-blind)
#5B5879
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7131c5;
/* rgb */ color: rgb(113, 49, 197);
/* oklch */ color: oklch(48.6% 0.213 297.4);
Tailwind
colors: {
  custom: {
    50: '#a170d8',
    500: '#7131c5',
    950: '#000000',
  },
}
SCSS
$custom: #7131c5;
$custom-light: #a170d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7131c5",
  "rgb": {
    "r": 113,
    "g": 49,
    "b": 197
  },
  "hsl": {
    "h": 265.946,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48578,
    "c": 0.2129,
    "h": 297.4
  },
  "luminance": 0.09739
}

Semantic roles & 50–950 ramp

primary
#7131C5
secondary
#AECD85
accent
#E3449F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7131C5

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

Preview Lab → · Contrast checker → · Palette generator →

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