#7130A2#7130A2

#7130A2 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.177 H 306.7°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#7130A2
RGBrgb(113, 48, 162)
HSLhsl(274, 54%, 41%)
HSVhsv(274, 70%, 64%)
CMYKcmyk(30.2%, 70.4%, 0%, 36.5%)
CIE-LABlab(34.46, 48.95, -50.01)
CIE-LCHlch(34.46, 69.98, 314.39°)
OKLaboklab(45.67% 0.1059 -0.1419)
OKLCHoklch(45.67% 0.177 306.7)
XYZxyz(14.3872, 8.2334, 35.0067)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7130A2 #61A230
analogous
#3830A2 #7130A2 #A2309A
triadic
#7130A2 #A27130 #30A271
tetradic
#7130A2 #A23830 #61A230 #309AA2
square
#7130A2 #A23830 #61A230 #309AA2
split-complementary
#7130A2 #9AA230 #30A238
monochromatic
#2F1444 #502273 #7130A2 #9147C8 #AD76D6

Accessibility & contrast

On white

7.93
#7130A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7130A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7130A2
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7130A2#FFFFFF#000000##FFFFFF
##7130A21.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#0C51A0
Tritanopia (blue-blind)
#694A65
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7130a2;
/* rgb */ color: rgb(113, 48, 162);
/* oklch */ color: oklch(45.7% 0.177 306.7);
Tailwind
colors: {
  custom: {
    50: '#9e6ebe',
    500: '#7130a2',
    950: '#000000',
  },
}
SCSS
$custom: #7130a2;
$custom-light: #9e6ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#7130a2",
  "rgb": {
    "r": 113,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 274.211,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45666,
    "c": 0.17701,
    "h": 306.7
  },
  "luminance": 0.08233
}

Semantic roles & 50–950 ramp

primary
#7130A2
secondary
#91BE6F
accent
#DE4A8A
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7130A2

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

Preview Lab → · Contrast checker → · Palette generator →

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