#7130AC#7130AC

#7130AC is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.4% C 0.188 H 303.8°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#7130AC
RGBrgb(113, 48, 172)
HSLhsl(271, 56%, 43%)
HSVhsv(271, 72%, 67%)
CMYKcmyk(34.3%, 72.1%, 0%, 32.5%)
CIE-LABlab(35.21, 51.33, -54.80)
CIE-LCHlch(35.21, 75.09, 313.13°)
OKLaboklab(46.43% 0.1043 -0.156)
OKLCHoklch(46.43% 0.188 303.8)
XYZxyz(15.3117, 8.6032, 39.8757)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7130AC #6BAC30
analogous
#3330AC #7130AC #AC30A9
triadic
#7130AC #AC7130 #30AC71
tetradic
#7130AC #AC3330 #6BAC30 #30A9AC
square
#7130AC #AC3330 #6BAC30 #30A9AC
split-complementary
#7130AC #A9AC30 #30AC33
monochromatic
#32154C #52237C #7130AC #904CCD #AD7CDA

Accessibility & contrast

On white

7.72
#7130AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7130AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7130AC
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7130AC#FFFFFF#000000##FFFFFF
##7130AC1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#654E6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7130ac;
/* rgb */ color: rgb(113, 48, 172);
/* oklch */ color: oklch(46.4% 0.188 303.8);
Tailwind
colors: {
  custom: {
    50: '#9f6ec6',
    500: '#7130ac',
    950: '#000000',
  },
}
SCSS
$custom: #7130ac;
$custom-light: #9f6ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#7130ac",
  "rgb": {
    "r": 113,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 271.452,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46431,
    "c": 0.18762,
    "h": 303.8
  },
  "luminance": 0.08603
}

Semantic roles & 50–950 ramp

primary
#7130AC
secondary
#9AC375
accent
#E04890
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7130AC

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

Preview Lab → · Contrast checker → · Palette generator →

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