#7A37C5#7A37C5

#7A37C5 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.3% C 0.208 H 300.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#7A37C5
RGBrgb(122, 55, 197)
HSLhsl(268, 56%, 49%)
HSVhsv(268, 72%, 77%)
CMYKcmyk(38.1%, 72.1%, 0%, 22.7%)
CIE-LABlab(39.41, 55.88, -62.66)
CIE-LCHlch(39.41, 83.96, 311.73°)
OKLaboklab(50.26% 0.1055 -0.1788)
OKLCHoklch(50.26% 0.208 300.5)
XYZxyz(19.4678, 10.9010, 53.8910)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A37C5 #82C537
analogous
#373BC5 #7A37C5 #C137C5
triadic
#7A37C5 #C57A37 #37C57A
tetradic
#7A37C5 #C5373B #82C537 #37C5C1
square
#7A37C5 #C5373B #82C537 #37C5C1
split-complementary
#7A37C5 #C5C137 #3BC537
monochromatic
#3F1C65 #5C2A95 #7A37C5 #9965D4 #B995E1

Accessibility & contrast

On white

6.60
#7A37C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7A37C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A37C5
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A37C5#FFFFFF#000000##FFFFFF
##7A37C51.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#005CC2
Tritanopia (blue-blind)
#695A7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7a37c5;
/* rgb */ color: rgb(122, 55, 197);
/* oklch */ color: oklch(50.3% 0.208 300.5);
Tailwind
colors: {
  custom: {
    50: '#a774d8',
    500: '#7a37c5',
    950: '#000000',
  },
}
SCSS
$custom: #7a37c5;
$custom-light: #a774d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a37c5",
  "rgb": {
    "r": 122,
    "g": 55,
    "b": 197
  },
  "hsl": {
    "h": 268.31,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50264,
    "c": 0.20757,
    "h": 300.5
  },
  "luminance": 0.10901
}

Semantic roles & 50–950 ramp

primary
#7A37C5
secondary
#AECD8B
accent
#E04898
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7A37C5

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

Preview Lab → · Contrast checker → · Palette generator →

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