#7A37CD#7A37CD

#7A37CD is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.9% C 0.216 H 298.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#7A37CD
RGBrgb(122, 55, 205)
HSLhsl(267, 60%, 51%)
HSVhsv(267, 73%, 80%)
CMYKcmyk(40.5%, 73.2%, 0%, 19.6%)
CIE-LABlab(40.04, 57.84, -66.28)
CIE-LCHlch(40.04, 87.97, 311.11°)
OKLaboklab(50.91% 0.1038 -0.1894)
OKLCHoklch(50.91% 0.216 298.7)
XYZxyz(20.4089, 11.2774, 58.8473)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A37CD #8ACD37
analogous
#373FCD #7A37CD #C537CD
triadic
#7A37CD #CD7A37 #37CD7A
tetradic
#7A37CD #CD373F #8ACD37 #37CDC5
square
#7A37CD #CD373F #8ACD37 #37CDC5
split-complementary
#7A37CD #CDC537 #3FCD37
monochromatic
#401C6E #5D289F #7A37CD #9B68D9 #BB99E5

Accessibility & contrast

On white

6.45
#7A37CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7A37CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A37CD
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A37CD#FFFFFF#000000##FFFFFF
##7A37CD1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED1
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#665D7F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7a37cd;
/* rgb */ color: rgb(122, 55, 205);
/* oklch */ color: oklch(50.9% 0.216 298.7);
Tailwind
colors: {
  custom: {
    50: '#a774dd',
    500: '#7a37cd',
    950: '#000000',
  },
}
SCSS
$custom: #7a37cd;
$custom-light: #a774dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a37cd",
  "rgb": {
    "r": 122,
    "g": 55,
    "b": 205
  },
  "hsl": {
    "h": 266.8,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50907,
    "c": 0.21601,
    "h": 298.7
  },
  "luminance": 0.11278
}

Semantic roles & 50–950 ramp

primary
#7A37CD
secondary
#B3D18F
accent
#E3459C
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A37CD

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

Preview Lab → · Contrast checker → · Palette generator →

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