#7F37BC#7F37BC

#7F37BC is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.2% C 0.199 H 304.9°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7F37BC
RGBrgb(127, 55, 188)
HSLhsl(272, 55%, 48%)
HSVhsv(272, 71%, 74%)
CMYKcmyk(32.4%, 70.7%, 0%, 26.3%)
CIE-LABlab(39.37, 54.68, -57.44)
CIE-LCHlch(39.37, 79.30, 313.59°)
OKLaboklab(50.16% 0.114 -0.1633)
OKLCHoklch(50.16% 0.199 304.9)
XYZxyz(19.1936, 10.8754, 48.6552)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F37BC #74BC37
analogous
#3C37BC #7F37BC #BC37B7
triadic
#7F37BC #BC7F37 #37BC7F
tetradic
#7F37BC #BC3C37 #74BC37 #37B7BC
square
#7F37BC #BC3C37 #74BC37 #37B7BC
split-complementary
#7F37BC #B7BC37 #37BC3C
monochromatic
#3F1B5D #5F298D #7F37BC #9D60D0 #BA8FDE

Accessibility & contrast

On white

6.61
#7F37BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7F37BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F37BC
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F37BC#FFFFFF#000000##FFFFFF
##7F37BC1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#745676
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7f37bc;
/* rgb */ color: rgb(127, 55, 188);
/* oklch */ color: oklch(50.2% 0.199 304.9);
Tailwind
colors: {
  custom: {
    50: '#a974d1',
    500: '#7f37bc',
    950: '#000000',
  },
}
SCSS
$custom: #7f37bc;
$custom-light: #a974d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f37bc",
  "rgb": {
    "r": 127,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 272.481,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50159,
    "c": 0.19912,
    "h": 304.9
  },
  "luminance": 0.10875
}

Semantic roles & 50–950 ramp

primary
#7F37BC
secondary
#A5C986
accent
#DE4A8E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7F37BC

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

Preview Lab → · Contrast checker → · Palette generator →

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