#7A37D5#7A37D5

#7A37D5 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.6% C 0.224 H 297.0°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#7A37D5
RGBrgb(122, 55, 213)
HSLhsl(265, 65%, 53%)
HSVhsv(265, 74%, 84%)
CMYKcmyk(42.7%, 74.2%, 0%, 16.5%)
CIE-LABlab(40.69, 59.81, -69.84)
CIE-LCHlch(40.69, 91.95, 310.57°)
OKLaboklab(51.57% 0.102 -0.1999)
OKLCHoklch(51.57% 0.224 297)
XYZxyz(21.3993, 11.6736, 64.0637)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A37D5 #92D537
analogous
#3743D5 #7A37D5 #C937D5
triadic
#7A37D5 #D57A37 #37D57A
tetradic
#7A37D5 #D53743 #92D537 #37D5C9
square
#7A37D5 #D53743 #92D537 #37D5C9
split-complementary
#7A37D5 #D5C937 #43D537
monochromatic
#421978 #5D24AB #7A37D5 #9C6AE0 #BD9CEA

Accessibility & contrast

On white

6.30
#7A37D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7A37D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A37D5
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A37D5#FFFFFF#000000##FFFFFF
##7A37D51.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D9
Deuteranopia (green-blind)
#005ED2
Tritanopia (blue-blind)
#626184
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7a37d5;
/* rgb */ color: rgb(122, 55, 213);
/* oklch */ color: oklch(51.6% 0.224 297.0);
Tailwind
colors: {
  custom: {
    50: '#a874e3',
    500: '#7a37d5',
    950: '#000000',
  },
}
SCSS
$custom: #7a37d5;
$custom-light: #a874e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a37d5",
  "rgb": {
    "r": 122,
    "g": 55,
    "b": 213
  },
  "hsl": {
    "h": 265.443,
    "s": 65.289,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51565,
    "c": 0.2244,
    "h": 297
  },
  "luminance": 0.11674
}

Semantic roles & 50–950 ramp

primary
#7A37D5
secondary
#B9D692
accent
#E840A1
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7A37D5

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

Preview Lab → · Contrast checker → · Palette generator →

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