#7130C5#7130C5

#7130C5 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.5% C 0.214 H 297.5°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#7130C5
RGBrgb(113, 48, 197)
HSLhsl(266, 61%, 48%)
HSVhsv(266, 76%, 77%)
CMYKcmyk(42.6%, 75.6%, 0%, 22.7%)
CIE-LABlab(37.22, 57.44, -66.29)
CIE-LCHlch(37.22, 87.72, 310.91°)
OKLaboklab(48.47% 0.0988 -0.1897)
OKLCHoklch(48.47% 0.214 297.5)
XYZxyz(17.9424, 9.6555, 53.7309)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7130C5 #84C530
analogous
#303AC5 #7130C5 #BB30C5
triadic
#7130C5 #C57130 #30C571
tetradic
#7130C5 #C5303A #84C530 #30C5BB
square
#7130C5 #C5303A #84C530 #30C5BB
split-complementary
#7130C5 #C5BB30 #3AC530
monochromatic
#391863 #552494 #7130C5 #915BD7 #B28CE3

Accessibility & contrast

On white

7.16
#7130C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#7130C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7130C5
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7130C5#FFFFFF#000000##FFFFFF
##7130C51.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C9
Deuteranopia (green-blind)
#0056C2
Tritanopia (blue-blind)
#5B5879
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7130c5;
/* rgb */ color: rgb(113, 48, 197);
/* oklch */ color: oklch(48.5% 0.214 297.5);
Tailwind
colors: {
  custom: {
    50: '#a16fd8',
    500: '#7130c5',
    950: '#000000',
  },
}
SCSS
$custom: #7130c5;
$custom-light: #a16fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#7130c5",
  "rgb": {
    "r": 113,
    "g": 48,
    "b": 197
  },
  "hsl": {
    "h": 266.174,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48472,
    "c": 0.21393,
    "h": 297.5
  },
  "luminance": 0.09656
}

Semantic roles & 50–950 ramp

primary
#7130C5
secondary
#ADCD84
accent
#E4449E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7130C5

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

Preview Lab → · Contrast checker → · Palette generator →

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