#7137A2#7137A2

#7137A2 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.6% C 0.168 H 305.8°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#7137A2
RGBrgb(113, 55, 162)
HSLhsl(273, 49%, 43%)
HSVhsv(273, 66%, 64%)
CMYKcmyk(30.2%, 66%, 0%, 36.5%)
CIE-LABlab(35.70, 45.53, -48.01)
CIE-LCHlch(35.70, 66.17, 313.48°)
OKLaboklab(46.55% 0.098 -0.136)
OKLCHoklch(46.55% 0.168 305.8)
XYZxyz(14.6964, 8.8518, 35.1098)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7137A2 #68A237
analogous
#3B37A2 #7137A2 #A2379E
triadic
#7137A2 #A27137 #37A271
tetradic
#7137A2 #A23B37 #68A237 #379EA2
square
#7137A2 #A23B37 #68A237 #379EA2
split-complementary
#7137A2 #9EA237 #37A23B
monochromatic
#311847 #512774 #7137A2 #9052C4 #AD80D4

Accessibility & contrast

On white

7.58
#7137A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7137A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7137A2
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7137A2#FFFFFF#000000##FFFFFF
##7137A21.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#1B54A0
Tritanopia (blue-blind)
#684E67
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7137a2;
/* rgb */ color: rgb(113, 55, 162);
/* oklch */ color: oklch(46.6% 0.168 305.8);
Tailwind
colors: {
  custom: {
    50: '#9e72be',
    500: '#7137a2',
    950: '#000000',
  },
}
SCSS
$custom: #7137a2;
$custom-light: #9e72be;
$custom-dark: #000000;
JSON
{
  "hex": "#7137a2",
  "rgb": {
    "r": 113,
    "g": 55,
    "b": 162
  },
  "hsl": {
    "h": 272.523,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4655,
    "c": 0.16763,
    "h": 305.8
  },
  "luminance": 0.08852
}

Semantic roles & 50–950 ramp

primary
#7137A2
secondary
#97BD78
accent
#D94F8E
background
#FAF7FB
surface
#F3EDF7
border
#CDC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7137A2

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

Preview Lab → · Contrast checker → · Palette generator →

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