#7137AC#7137AC

#7137AC is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.3% C 0.179 H 302.8°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7137AC
RGBrgb(113, 55, 172)
HSLhsl(270, 52%, 45%)
HSVhsv(270, 68%, 67%)
CMYKcmyk(34.3%, 68%, 0%, 32.5%)
CIE-LABlab(36.41, 47.98, -52.86)
CIE-LCHlch(36.41, 71.39, 312.23°)
OKLaboklab(47.29% 0.0969 -0.1503)
OKLCHoklch(47.29% 0.179 302.8)
XYZxyz(15.6209, 9.2216, 39.9787)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7137AC #72AC37
analogous
#3737AC #7137AC #AC37AC
triadic
#7137AC #AC7137 #37AC71
tetradic
#7137AC #AC3737 #72AC37 #37ACAC
square
#7137AC #AC3737 #72AC37 #37ACAC
split-complementary
#7137AC #ACAC37 #37AC37
monochromatic
#34194F #53287E #7137AC #9057C9 #AE85D8

Accessibility & contrast

On white

7.38
#7137AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7137AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7137AC
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7137AC#FFFFFF#000000##FFFFFF
##7137AC1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#65526D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7137ac;
/* rgb */ color: rgb(113, 55, 172);
/* oklch */ color: oklch(47.3% 0.179 302.8);
Tailwind
colors: {
  custom: {
    50: '#9e72c5',
    500: '#7137ac',
    950: '#000000',
  },
}
SCSS
$custom: #7137ac;
$custom-light: #9e72c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7137ac",
  "rgb": {
    "r": 113,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 269.744,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47286,
    "c": 0.17881,
    "h": 302.8
  },
  "luminance": 0.09222
}

Semantic roles & 50–950 ramp

primary
#7137AC
secondary
#A0C27D
accent
#DB4D95
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7137AC

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

Preview Lab → · Contrast checker → · Palette generator →

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