#7F37C0#7F37C0

#7F37C0 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.5% C 0.203 H 303.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7F37C0
RGBrgb(127, 55, 192)
HSLhsl(272, 55%, 48%)
HSVhsv(272, 71%, 75%)
CMYKcmyk(33.9%, 71.4%, 0%, 24.7%)
CIE-LABlab(39.66, 55.62, -59.31)
CIE-LCHlch(39.66, 81.31, 313.16°)
OKLaboklab(50.46% 0.1133 -0.1687)
OKLCHoklch(50.46% 0.203 303.9)
XYZxyz(19.6308, 11.0502, 50.9577)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F37C0 #78C037
analogous
#3A37C0 #7F37C0 #C037BC
triadic
#7F37C0 #C07F37 #37C07F
tetradic
#7F37C0 #C03A37 #78C037 #37BCC0
square
#7F37C0 #C03A37 #78C037 #37BCC0
split-complementary
#7F37C0 #BCC037 #37C03A
monochromatic
#401C61 #602990 #7F37C0 #9D62D2 #BB92E0

Accessibility & contrast

On white

6.54
#7F37C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7F37C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F37C0
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F37C0#FFFFFF#000000##FFFFFF
##7F37C01.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC4
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#725878
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7f37c0;
/* rgb */ color: rgb(127, 55, 192);
/* oklch */ color: oklch(50.5% 0.203 303.9);
Tailwind
colors: {
  custom: {
    50: '#a974d4',
    500: '#7f37c0',
    950: '#000000',
  },
}
SCSS
$custom: #7f37c0;
$custom-light: #a974d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f37c0",
  "rgb": {
    "r": 127,
    "g": 55,
    "b": 192
  },
  "hsl": {
    "h": 271.533,
    "s": 55.466,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50462,
    "c": 0.20327,
    "h": 303.9
  },
  "luminance": 0.1105
}

Semantic roles & 50–950 ramp

primary
#7F37C0
secondary
#A8CB88
accent
#DF4990
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7F37C0

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

Preview Lab → · Contrast checker → · Palette generator →

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