#7130A5#7130A5

#7130A5 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.9% C 0.180 H 305.8°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#7130A5
RGBrgb(113, 48, 165)
HSLhsl(273, 55%, 42%)
HSVhsv(273, 71%, 65%)
CMYKcmyk(31.5%, 70.9%, 0%, 35.3%)
CIE-LABlab(34.68, 49.66, -51.46)
CIE-LCHlch(34.68, 71.51, 313.98°)
OKLaboklab(45.89% 0.1054 -0.1461)
OKLCHoklch(45.89% 0.18 305.8)
XYZxyz(14.6570, 8.3413, 36.4279)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7130A5 #64A530
analogous
#3630A5 #7130A5 #A5309F
triadic
#7130A5 #A57130 #30A571
tetradic
#7130A5 #A53630 #64A530 #309FA5
square
#7130A5 #A53630 #64A530 #309FA5
split-complementary
#7130A5 #9FA530 #30A536
monochromatic
#301446 #512276 #7130A5 #9048CA #AD78D8

Accessibility & contrast

On white

7.87
#7130A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7130A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7130A5
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7130A5#FFFFFF#000000##FFFFFF
##7130A51.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A8
Deuteranopia (green-blind)
#0152A3
Tritanopia (blue-blind)
#684B67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7130a5;
/* rgb */ color: rgb(113, 48, 165);
/* oklch */ color: oklch(45.9% 0.180 305.8);
Tailwind
colors: {
  custom: {
    50: '#9e6ec0',
    500: '#7130a5',
    950: '#000000',
  },
}
SCSS
$custom: #7130a5;
$custom-light: #9e6ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#7130a5",
  "rgb": {
    "r": 113,
    "g": 48,
    "b": 165
  },
  "hsl": {
    "h": 273.333,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45892,
    "c": 0.1802,
    "h": 305.8
  },
  "luminance": 0.08341
}

Semantic roles & 50–950 ramp

primary
#7130A5
secondary
#94C071
accent
#DE4A8C
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7130A5

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

Preview Lab → · Contrast checker → · Palette generator →

#7130A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva