#7F37BE#7F37BE

#7F37BE is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.3% C 0.201 H 304.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#7F37BE
RGBrgb(127, 55, 190)
HSLhsl(272, 55%, 48%)
HSVhsv(272, 71%, 75%)
CMYKcmyk(33.2%, 71.1%, 0%, 25.5%)
CIE-LABlab(39.52, 55.15, -58.37)
CIE-LCHlch(39.52, 80.31, 313.37°)
OKLaboklab(50.31% 0.1137 -0.166)
OKLCHoklch(50.31% 0.201 304.4)
XYZxyz(19.4107, 10.9622, 49.7985)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F37BE #76BE37
analogous
#3B37BE #7F37BE #BE37B9
triadic
#7F37BE #BE7F37 #37BE7F
tetradic
#7F37BE #BE3B37 #76BE37 #37B9BE
square
#7F37BE #BE3B37 #76BE37 #37B9BE
split-complementary
#7F37BE #B9BE37 #37BE3B
monochromatic
#401C5F #5F298F #7F37BE #9D61D1 #BA90DF

Accessibility & contrast

On white

6.58
#7F37BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7F37BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F37BE
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F37BE#FFFFFF#000000##FFFFFF
##7F37BE1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC2
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#735777
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7f37be;
/* rgb */ color: rgb(127, 55, 190);
/* oklch */ color: oklch(50.3% 0.201 304.4);
Tailwind
colors: {
  custom: {
    50: '#a974d2',
    500: '#7f37be',
    950: '#000000',
  },
}
SCSS
$custom: #7f37be;
$custom-light: #a974d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f37be",
  "rgb": {
    "r": 127,
    "g": 55,
    "b": 190
  },
  "hsl": {
    "h": 272,
    "s": 55.102,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5031,
    "c": 0.20119,
    "h": 304.4
  },
  "luminance": 0.10962
}

Semantic roles & 50–950 ramp

primary
#7F37BE
secondary
#A6CA87
accent
#DE498F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7F37BE

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

Preview Lab → · Contrast checker → · Palette generator →

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