#7A37BB#7A37BB

#7A37BB is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.5% C 0.197 H 303.0°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#7A37BB
RGBrgb(122, 55, 187)
HSLhsl(270, 55%, 47%)
HSVhsv(270, 71%, 73%)
CMYKcmyk(34.8%, 70.6%, 0%, 26.7%)
CIE-LABlab(38.65, 53.46, -58.05)
CIE-LCHlch(38.65, 78.92, 312.65°)
OKLaboklab(49.49% 0.1072 -0.1652)
OKLCHoklch(49.49% 0.197 303)
XYZxyz(18.3598, 10.4578, 48.0554)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A37BB #78BB37
analogous
#3837BB #7A37BB #BB37BA
triadic
#7A37BB #BB7A37 #37BB7A
tetradic
#7A37BB #BB3837 #78BB37 #37BABB
square
#7A37BB #BB3837 #78BB37 #37BABB
split-complementary
#7A37BB #BABB37 #37BB38
monochromatic
#3C1B5C #5B298C #7A37BB #985FD0 #B78EDE

Accessibility & contrast

On white

6.79
#7A37BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7A37BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A37BB
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A37BB#FFFFFF#000000##FFFFFF
##7A37BB1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#6D5675
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a37bb;
/* rgb */ color: rgb(122, 55, 187);
/* oklch */ color: oklch(49.5% 0.197 303.0);
Tailwind
colors: {
  custom: {
    50: '#a673d0',
    500: '#7a37bb',
    950: '#000000',
  },
}
SCSS
$custom: #7a37bb;
$custom-light: #a673d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a37bb",
  "rgb": {
    "r": 122,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 270.455,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49485,
    "c": 0.19697,
    "h": 303
  },
  "luminance": 0.10458
}

Semantic roles & 50–950 ramp

primary
#7A37BB
secondary
#A6C985
accent
#DE4A93
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7A37BB

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

Preview Lab → · Contrast checker → · Palette generator →

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