#7A37C3#7A37C3

#7A37C3 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.1% C 0.205 H 301.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#7A37C3
RGBrgb(122, 55, 195)
HSLhsl(269, 56%, 49%)
HSVhsv(269, 72%, 76%)
CMYKcmyk(37.4%, 71.8%, 0%, 23.5%)
CIE-LABlab(39.26, 55.40, -61.75)
CIE-LCHlch(39.26, 82.96, 311.90°)
OKLaboklab(50.11% 0.1058 -0.1761)
OKLCHoklch(50.11% 0.205 301)
XYZxyz(19.2401, 10.8100, 52.6921)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A37C3 #80C337
analogous
#373AC3 #7A37C3 #C037C3
triadic
#7A37C3 #C37A37 #37C37A
tetradic
#7A37C3 #C3373A #80C337 #37C3C0
square
#7A37C3 #C3373A #80C337 #37C3C0
split-complementary
#7A37C3 #C3C037 #3AC337
monochromatic
#3E1C64 #5C2A93 #7A37C3 #9964D3 #B994E1

Accessibility & contrast

On white

6.64
#7A37C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7A37C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A37C3
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A37C3#FFFFFF#000000##FFFFFF
##7A37C31.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#6A597A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7a37c3;
/* rgb */ color: rgb(122, 55, 195);
/* oklch */ color: oklch(50.1% 0.205 301.0);
Tailwind
colors: {
  custom: {
    50: '#a674d6',
    500: '#7a37c3',
    950: '#000000',
  },
}
SCSS
$custom: #7a37c3;
$custom-light: #a674d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a37c3",
  "rgb": {
    "r": 122,
    "g": 55,
    "b": 195
  },
  "hsl": {
    "h": 268.714,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50106,
    "c": 0.20545,
    "h": 301
  },
  "luminance": 0.1081
}

Semantic roles & 50–950 ramp

primary
#7A37C3
secondary
#ACCC8A
accent
#DF4997
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7A37C3

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

Preview Lab → · Contrast checker → · Palette generator →

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