#7F37BD#7F37BD

#7F37BD is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.2% C 0.200 H 304.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#7F37BD
RGBrgb(127, 55, 189)
HSLhsl(272, 55%, 48%)
HSVhsv(272, 71%, 74%)
CMYKcmyk(32.8%, 70.9%, 0%, 25.9%)
CIE-LABlab(39.44, 54.91, -57.91)
CIE-LCHlch(39.44, 79.81, 313.48°)
OKLaboklab(50.23% 0.1138 -0.1646)
OKLCHoklch(50.23% 0.2 304.7)
XYZxyz(19.3018, 10.9186, 49.2249)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F37BD #75BD37
analogous
#3C37BD #7F37BD #BD37B8
triadic
#7F37BD #BD7F37 #37BD7F
tetradic
#7F37BD #BD3C37 #75BD37 #37B8BD
square
#7F37BD #BD3C37 #75BD37 #37B8BD
split-complementary
#7F37BD #B8BD37 #37BD3C
monochromatic
#3F1B5E #5F298E #7F37BD #9D60D1 #BA90DF

Accessibility & contrast

On white

6.60
#7F37BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7F37BD
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F37BD#FFFFFF#000000##FFFFFF
##7F37BD1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#735676
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7f37bd;
/* rgb */ color: rgb(127, 55, 189);
/* oklch */ color: oklch(50.2% 0.200 304.7);
Tailwind
colors: {
  custom: {
    50: '#a974d2',
    500: '#7f37bd',
    950: '#000000',
  },
}
SCSS
$custom: #7f37bd;
$custom-light: #a974d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f37bd",
  "rgb": {
    "r": 127,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 272.239,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50234,
    "c": 0.20015,
    "h": 304.7
  },
  "luminance": 0.10919
}

Semantic roles & 50–950 ramp

primary
#7F37BD
secondary
#A5C986
accent
#DE4A8E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7F37BD

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

Preview Lab → · Contrast checker → · Palette generator →

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