#7131C2#7131C2

#7131C2 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.3% C 0.210 H 298.1°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#7131C2
RGBrgb(113, 49, 194)
HSLhsl(266, 60%, 48%)
HSVhsv(266, 75%, 76%)
CMYKcmyk(41.8%, 74.7%, 0%, 23.9%)
CIE-LABlab(37.12, 56.26, -64.70)
CIE-LCHlch(37.12, 85.74, 311.01°)
OKLaboklab(48.33% 0.0987 -0.185)
OKLCHoklch(48.33% 0.21 298.1)
XYZxyz(17.6435, 9.6021, 51.9523)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7131C2 #82C231
analogous
#3139C2 #7131C2 #BA31C2
triadic
#7131C2 #C27131 #31C271
tetradic
#7131C2 #C23139 #82C231 #31C2BA
square
#7131C2 #C23139 #82C231 #31C2BA
split-complementary
#7131C2 #C2BA31 #39C231
monochromatic
#381860 #552591 #7131C2 #915BD6 #B28CE2

Accessibility & contrast

On white

7.19
#7131C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7131C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7131C2
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7131C2#FFFFFF#000000##FFFFFF
##7131C21.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#5D5777
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7131c2;
/* rgb */ color: rgb(113, 49, 194);
/* oklch */ color: oklch(48.3% 0.210 298.1);
Tailwind
colors: {
  custom: {
    50: '#a170d5',
    500: '#7131c2',
    950: '#000000',
  },
}
SCSS
$custom: #7131c2;
$custom-light: #a170d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7131c2",
  "rgb": {
    "r": 113,
    "g": 49,
    "b": 194
  },
  "hsl": {
    "h": 266.483,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48326,
    "c": 0.20975,
    "h": 298.1
  },
  "luminance": 0.09602
}

Semantic roles & 50–950 ramp

primary
#7131C2
secondary
#ACCC83
accent
#E3459D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7131C2

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

Preview Lab → · Contrast checker → · Palette generator →

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