#7A37AB#7A37AB

#7A37AB is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.3% C 0.180 H 307.4°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#7A37AB
RGBrgb(122, 55, 171)
HSLhsl(275, 51%, 44%)
HSVhsv(275, 68%, 67%)
CMYKcmyk(28.7%, 67.8%, 0%, 32.9%)
CIE-LABlab(37.50, 49.67, -50.44)
CIE-LCHlch(37.50, 70.79, 314.56°)
OKLaboklab(48.3% 0.1094 -0.1429)
OKLCHoklch(48.3% 0.18 307.4)
XYZxyz(16.7414, 9.8104, 39.5318)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A37AB #68AB37
analogous
#4037AB #7A37AB #AB37A2
triadic
#7A37AB #AB7A37 #37AB7A
tetradic
#7A37AB #AB4037 #68AB37 #37A2AB
square
#7A37AB #AB4037 #68AB37 #37A2AB
split-complementary
#7A37AB #A2AB37 #37AB40
monochromatic
#38194E #59287D #7A37AB #9856C9 #B585D8

Accessibility & contrast

On white

7.09
#7A37AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#7A37AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A37AB
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A37AB#FFFFFF#000000##FFFFFF
##7A37AB1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#1C59A8
Tritanopia (blue-blind)
#72506C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7a37ab;
/* rgb */ color: rgb(122, 55, 171);
/* oklch */ color: oklch(48.3% 0.180 307.4);
Tailwind
colors: {
  custom: {
    50: '#a473c5',
    500: '#7a37ab',
    950: '#000000',
  },
}
SCSS
$custom: #7a37ab;
$custom-light: #a473c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a37ab",
  "rgb": {
    "r": 122,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 274.655,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48299,
    "c": 0.17993,
    "h": 307.4
  },
  "luminance": 0.0981
}

Semantic roles & 50–950 ramp

primary
#7A37AB
secondary
#9AC17C
accent
#DB4D89
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7A37AB

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

Preview Lab → · Contrast checker → · Palette generator →

#7A37AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva