#7F3A91#7F3A91

#7F3A91 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.6% C 0.150 H 318.9°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#7F3A91
RGBrgb(127, 58, 145)
HSLhsl(288, 43%, 40%)
HSVhsv(288, 60%, 57%)
CMYKcmyk(12.4%, 60%, 0%, 43.1%)
CIE-LABlab(37.08, 43.63, -35.39)
CIE-LCHlch(37.08, 56.18, 320.95°)
OKLaboklab(47.62% 0.113 -0.0987)
OKLCHoklch(47.62% 0.15 318.9)
XYZxyz(15.3756, 9.5831, 27.8224)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3A91 #4C913A
analogous
#533A91 #7F3A91 #913A78
triadic
#7F3A91 #917F3A #3A917F
tetradic
#7F3A91 #91533A #4C913A #3A7891
square
#7F3A91 #91533A #4C913A #3A7891
split-complementary
#7F3A91 #78913A #3A9153
monochromatic
#32173A #592965 #7F3A91 #A34FB9 #BA7BCA

Accessibility & contrast

On white

7.20
#7F3A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7F3A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F3A91
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3A91#FFFFFF#000000##FFFFFF
##7F3A911.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255394
Deuteranopia (green-blind)
#3F5A8F
Tritanopia (blue-blind)
#7F4860
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7f3a91;
/* rgb */ color: rgb(127, 58, 145);
/* oklch */ color: oklch(47.6% 0.150 318.9);
Tailwind
colors: {
  custom: {
    50: '#a674b2',
    500: '#7f3a91',
    950: '#000000',
  },
}
SCSS
$custom: #7f3a91;
$custom-light: #a674b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3a91",
  "rgb": {
    "r": 127,
    "g": 58,
    "b": 145
  },
  "hsl": {
    "h": 287.586,
    "s": 42.857,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47617,
    "c": 0.15,
    "h": 318.9
  },
  "luminance": 0.09582
}

Semantic roles & 50–950 ramp

primary
#7F3A91
secondary
#80B473
accent
#D3556F
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7F3A91

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

Preview Lab → · Contrast checker → · Palette generator →

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