#7F37A9#7F37A9

#7F37A9 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.8% C 0.179 H 310.4°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#7F37A9
RGBrgb(127, 55, 169)
HSLhsl(278, 51%, 44%)
HSVhsv(278, 67%, 66%)
CMYKcmyk(24.9%, 67.5%, 0%, 33.7%)
CIE-LABlab(38.04, 50.32, -48.34)
CIE-LCHlch(38.04, 69.78, 316.15°)
OKLaboklab(48.79% 0.1163 -0.1365)
OKLCHoklch(48.79% 0.179 310.4)
XYZxyz(17.2786, 10.1093, 38.5695)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F37A9 #61A937
analogous
#4637A9 #7F37A9 #A9379A
triadic
#7F37A9 #A97F37 #37A97F
tetradic
#7F37A9 #A94637 #61A937 #379AA9
square
#7F37A9 #A94637 #61A937 #379AA9
split-complementary
#7F37A9 #9AA937 #37A946
monochromatic
#3A194D #5C287B #7F37A9 #9E55C8 #B884D7

Accessibility & contrast

On white

6.95
#7F37A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7F37A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F37A9
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F37A9#FFFFFF#000000##FFFFFF
##7F37A91.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AC
Deuteranopia (green-blind)
#275BA6
Tritanopia (blue-blind)
#794F6B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7f37a9;
/* rgb */ color: rgb(127, 55, 169);
/* oklch */ color: oklch(48.8% 0.179 310.4);
Tailwind
colors: {
  custom: {
    50: '#a873c3',
    500: '#7f37a9',
    950: '#000000',
  },
}
SCSS
$custom: #7f37a9;
$custom-light: #a873c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f37a9",
  "rgb": {
    "r": 127,
    "g": 55,
    "b": 169
  },
  "hsl": {
    "h": 277.895,
    "s": 50.893,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48785,
    "c": 0.17935,
    "h": 310.4
  },
  "luminance": 0.10109
}

Semantic roles & 50–950 ramp

primary
#7F37A9
secondary
#95C07B
accent
#DA4D81
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7F37A9

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

Preview Lab → · Contrast checker → · Palette generator →

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