#7F37BF#7F37BF

#7F37BF is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.4% C 0.202 H 304.1°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#7F37BF
RGBrgb(127, 55, 191)
HSLhsl(272, 55%, 48%)
HSVhsv(272, 71%, 75%)
CMYKcmyk(33.5%, 71.2%, 0%, 25.1%)
CIE-LABlab(39.59, 55.38, -58.84)
CIE-LCHlch(39.59, 80.81, 313.27°)
OKLaboklab(50.39% 0.1135 -0.1674)
OKLCHoklch(50.39% 0.202 304.1)
XYZxyz(19.5204, 11.0061, 50.3761)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F37BF #77BF37
analogous
#3B37BF #7F37BF #BF37BB
triadic
#7F37BF #BF7F37 #37BF7F
tetradic
#7F37BF #BF3B37 #77BF37 #37BBBF
square
#7F37BF #BF3B37 #77BF37 #37BBBF
split-complementary
#7F37BF #BBBF37 #37BF3B
monochromatic
#401C60 #5F298F #7F37BF #9D62D2 #BB91DF

Accessibility & contrast

On white

6.56
#7F37BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7F37BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F37BF
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F37BF#FFFFFF#000000##FFFFFF
##7F37BF1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f37bf;
/* rgb */ color: rgb(127, 55, 191);
/* oklch */ color: oklch(50.4% 0.202 304.1);
Tailwind
colors: {
  custom: {
    50: '#a974d3',
    500: '#7f37bf',
    950: '#000000',
  },
}
SCSS
$custom: #7f37bf;
$custom-light: #a974d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f37bf",
  "rgb": {
    "r": 127,
    "g": 55,
    "b": 191
  },
  "hsl": {
    "h": 271.765,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50385,
    "c": 0.20223,
    "h": 304.1
  },
  "luminance": 0.11006
}

Semantic roles & 50–950 ramp

primary
#7F37BF
secondary
#A7CA88
accent
#DF4990
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7F37BF

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

Preview Lab → · Contrast checker → · Palette generator →

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