#7A37C1#7A37C1

#7A37C1 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.0% C 0.203 H 301.5°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#7A37C1
RGBrgb(122, 55, 193)
HSLhsl(269, 56%, 49%)
HSVhsv(269, 72%, 76%)
CMYKcmyk(36.8%, 71.5%, 0%, 24.3%)
CIE-LABlab(39.10, 54.91, -60.83)
CIE-LCHlch(39.10, 81.95, 312.07°)
OKLaboklab(49.95% 0.1062 -0.1734)
OKLCHoklch(49.95% 0.203 301.5)
XYZxyz(19.0155, 10.7201, 51.5091)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A37C1 #7EC137
analogous
#3739C1 #7A37C1 #BF37C1
triadic
#7A37C1 #C17A37 #37C17A
tetradic
#7A37C1 #C13739 #7EC137 #37C1BF
square
#7A37C1 #C13739 #7EC137 #37C1BF
split-complementary
#7A37C1 #C1BF37 #39C137
monochromatic
#3E1C62 #5C2991 #7A37C1 #9963D2 #B892E0

Accessibility & contrast

On white

6.68
#7A37C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7A37C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A37C1
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A37C1#FFFFFF#000000##FFFFFF
##7A37C11.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC5
Deuteranopia (green-blind)
#005BBE
Tritanopia (blue-blind)
#6B5978
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7a37c1;
/* rgb */ color: rgb(122, 55, 193);
/* oklch */ color: oklch(50.0% 0.203 301.5);
Tailwind
colors: {
  custom: {
    50: '#a674d5',
    500: '#7a37c1',
    950: '#000000',
  },
}
SCSS
$custom: #7a37c1;
$custom-light: #a674d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a37c1",
  "rgb": {
    "r": 122,
    "g": 55,
    "b": 193
  },
  "hsl": {
    "h": 269.13,
    "s": 55.645,
    "l": 48.627
  },
  "oklch": {
    "l": 0.4995,
    "c": 0.20334,
    "h": 301.5
  },
  "luminance": 0.1072
}

Semantic roles & 50–950 ramp

primary
#7A37C1
secondary
#ABCB89
accent
#DF4996
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7A37C1

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

Preview Lab → · Contrast checker → · Palette generator →

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