#7130B2#7130B2

#7130B2 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.9% C 0.194 H 302.1°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#7130B2
RGBrgb(113, 48, 178)
HSLhsl(270, 58%, 44%)
HSVhsv(270, 73%, 70%)
CMYKcmyk(36.5%, 73%, 0%, 30.2%)
CIE-LABlab(35.67, 52.78, -57.62)
CIE-LCHlch(35.67, 78.14, 312.49°)
OKLaboklab(46.9% 0.1032 -0.1642)
OKLCHoklch(46.9% 0.194 302.1)
XYZxyz(15.9010, 8.8389, 42.9792)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7130B2 #71B230
analogous
#3030B2 #7130B2 #B230B2
triadic
#7130B2 #B27130 #30B271
tetradic
#7130B2 #B23030 #71B230 #30B2B2
square
#7130B2 #B23030 #71B230 #30B2B2
split-complementary
#7130B2 #B2B230 #30B230
monochromatic
#341652 #522382 #7130B2 #9050D0 #AE80DD

Accessibility & contrast

On white

7.59
#7130B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7130B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7130B2
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7130B2#FFFFFF#000000##FFFFFF
##7130B21.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#63506E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7130b2;
/* rgb */ color: rgb(113, 48, 178);
/* oklch */ color: oklch(46.9% 0.194 302.1);
Tailwind
colors: {
  custom: {
    50: '#9f6eca',
    500: '#7130b2',
    950: '#000000',
  },
}
SCSS
$custom: #7130b2;
$custom-light: #9f6eca;
$custom-dark: #000000;
JSON
{
  "hex": "#7130b2",
  "rgb": {
    "r": 113,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 270,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46904,
    "c": 0.19396,
    "h": 302.1
  },
  "luminance": 0.08839
}

Semantic roles & 50–950 ramp

primary
#7130B2
secondary
#9FC678
accent
#E14794
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7130B2

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

Preview Lab → · Contrast checker → · Palette generator →

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