#7A37BC#7A37BC

#7A37BC is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.6% C 0.198 H 302.7°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#7A37BC
RGBrgb(122, 55, 188)
HSLhsl(270, 55%, 48%)
HSVhsv(270, 71%, 74%)
CMYKcmyk(35.1%, 70.7%, 0%, 26.3%)
CIE-LABlab(38.73, 53.70, -58.51)
CIE-LCHlch(38.73, 79.42, 312.55°)
OKLaboklab(49.56% 0.1071 -0.1666)
OKLCHoklch(49.56% 0.198 302.7)
XYZxyz(18.4672, 10.5008, 48.6211)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A37BC #79BC37
analogous
#3837BC #7A37BC #BC37BB
triadic
#7A37BC #BC7A37 #37BC7A
tetradic
#7A37BC #BC3837 #79BC37 #37BBBC
square
#7A37BC #BC3837 #79BC37 #37BBBC
split-complementary
#7A37BC #BBBC37 #37BC38
monochromatic
#3D1B5D #5B298D #7A37BC #9960D0 #B78FDE

Accessibility & contrast

On white

6.77
#7A37BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7A37BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A37BC
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A37BC#FFFFFF#000000##FFFFFF
##7A37BC1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#6D5776
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a37bc;
/* rgb */ color: rgb(122, 55, 188);
/* oklch */ color: oklch(49.6% 0.198 302.7);
Tailwind
colors: {
  custom: {
    50: '#a673d1',
    500: '#7a37bc',
    950: '#000000',
  },
}
SCSS
$custom: #7a37bc;
$custom-light: #a673d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a37bc",
  "rgb": {
    "r": 122,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 270.226,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49562,
    "c": 0.19804,
    "h": 302.7
  },
  "luminance": 0.10501
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A37BC

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

Preview Lab → · Contrast checker → · Palette generator →

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