#7A37D8#7A37D8

#7A37D8 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.8% C 0.228 H 296.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#7A37D8
RGBrgb(122, 55, 216)
HSLhsl(265, 67%, 53%)
HSVhsv(265, 75%, 85%)
CMYKcmyk(43.5%, 74.5%, 0%, 15.3%)
CIE-LABlab(40.94, 60.55, -71.16)
CIE-LCHlch(40.94, 93.44, 310.39°)
OKLaboklab(51.82% 0.1013 -0.2038)
OKLCHoklch(51.82% 0.228 296.4)
XYZxyz(21.7836, 11.8273, 66.0876)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A37D8 #95D837
analogous
#3744D8 #7A37D8 #CA37D8
triadic
#7A37D8 #D87A37 #37D87A
tetradic
#7A37D8 #D83744 #95D837 #37D8CA
square
#7A37D8 #D83744 #95D837 #37D8CA
split-complementary
#7A37D8 #D8CA37 #44D837
monochromatic
#42187C #5D22B0 #7A37D8 #9C6AE2 #BE9DEC

Accessibility & contrast

On white

6.24
#7A37D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7A37D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A37D8
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A37D8#FFFFFF#000000##FFFFFF
##7A37D81.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DD
Deuteranopia (green-blind)
#005ED5
Tritanopia (blue-blind)
#616285
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7a37d8;
/* rgb */ color: rgb(122, 55, 216);
/* oklch */ color: oklch(51.8% 0.228 296.4);
Tailwind
colors: {
  custom: {
    50: '#a975e5',
    500: '#7a37d8',
    950: '#000000',
  },
}
SCSS
$custom: #7a37d8;
$custom-light: #a975e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a37d8",
  "rgb": {
    "r": 122,
    "g": 55,
    "b": 216
  },
  "hsl": {
    "h": 264.969,
    "s": 67.364,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51815,
    "c": 0.22753,
    "h": 296.4
  },
  "luminance": 0.11828
}

Semantic roles & 50–950 ramp

primary
#7A37D8
secondary
#BBD893
accent
#EA3EA2
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7A37D8

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

Preview Lab → · Contrast checker → · Palette generator →

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