#7134A2#7134A2

#7134A2 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.2% C 0.172 H 306.2°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#7134A2
RGBrgb(113, 52, 162)
HSLhsl(273, 51%, 42%)
HSVhsv(273, 68%, 64%)
CMYKcmyk(30.2%, 67.9%, 0%, 36.5%)
CIE-LABlab(35.15, 47.03, -48.89)
CIE-LCHlch(35.15, 67.84, 313.89°)
OKLaboklab(46.16% 0.1014 -0.1386)
OKLCHoklch(46.16% 0.172 306.2)
XYZxyz(14.5582, 8.5755, 35.0637)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7134A2 #65A234
analogous
#3A34A2 #7134A2 #A2349C
triadic
#7134A2 #A27134 #34A271
tetradic
#7134A2 #A23A34 #65A234 #349CA2
square
#7134A2 #A23A34 #65A234 #349CA2
split-complementary
#7134A2 #9CA234 #34A23A
monochromatic
#301645 #512574 #7134A2 #904DC6 #AD7CD5

Accessibility & contrast

On white

7.73
#7134A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7134A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7134A2
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7134A2#FFFFFF#000000##FFFFFF
##7134A21.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#1653A0
Tritanopia (blue-blind)
#694C67
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7134a2;
/* rgb */ color: rgb(113, 52, 162);
/* oklch */ color: oklch(46.2% 0.172 306.2);
Tailwind
colors: {
  custom: {
    50: '#9e70be',
    500: '#7134a2',
    950: '#000000',
  },
}
SCSS
$custom: #7134a2;
$custom-light: #9e70be;
$custom-dark: #000000;
JSON
{
  "hex": "#7134a2",
  "rgb": {
    "r": 113,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 273.273,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4616,
    "c": 0.17176,
    "h": 306.2
  },
  "luminance": 0.08575
}

Semantic roles & 50–950 ramp

primary
#7134A2
secondary
#95BE74
accent
#DB4D8C
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7134A2

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

Preview Lab → · Contrast checker → · Palette generator →

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