#7130A4#7130A4

#7130A4 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.179 H 306.1°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#7130A4
RGBrgb(113, 48, 164)
HSLhsl(274, 55%, 42%)
HSVhsv(274, 71%, 64%)
CMYKcmyk(31.1%, 70.7%, 0%, 35.7%)
CIE-LABlab(34.61, 49.42, -50.97)
CIE-LCHlch(34.61, 71.00, 314.12°)
OKLaboklab(45.82% 0.1056 -0.1447)
OKLCHoklch(45.82% 0.179 306.1)
XYZxyz(14.5664, 8.3051, 35.9504)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7130A4 #63A430
analogous
#3730A4 #7130A4 #A4309D
triadic
#7130A4 #A47130 #30A471
tetradic
#7130A4 #A43730 #63A430 #309DA4
square
#7130A4 #A43730 #63A430 #309DA4
split-complementary
#7130A4 #9DA430 #30A437
monochromatic
#301445 #502275 #7130A4 #9048C9 #AD77D7

Accessibility & contrast

On white

7.89
#7130A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7130A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7130A4
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7130A4#FFFFFF#000000##FFFFFF
##7130A41.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#0552A2
Tritanopia (blue-blind)
#684A66
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7130a4;
/* rgb */ color: rgb(113, 48, 164);
/* oklch */ color: oklch(45.8% 0.179 306.1);
Tailwind
colors: {
  custom: {
    50: '#9e6ec0',
    500: '#7130a4',
    950: '#000000',
  },
}
SCSS
$custom: #7130a4;
$custom-light: #9e6ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#7130a4",
  "rgb": {
    "r": 113,
    "g": 48,
    "b": 164
  },
  "hsl": {
    "h": 273.621,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45817,
    "c": 0.17914,
    "h": 306.1
  },
  "luminance": 0.08305
}

Semantic roles & 50–950 ramp

primary
#7130A4
secondary
#93BF70
accent
#DE4A8B
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7130A4

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

Preview Lab → · Contrast checker → · Palette generator →

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