#7F2091#7F2091

#7F2091 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.184 H 320.6°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#7F2091
RGBrgb(127, 32, 145)
HSLhsl(290, 64%, 35%)
HSVhsv(290, 78%, 57%)
CMYKcmyk(12.4%, 77.9%, 0%, 43.1%)
CIE-LABlab(33.11, 54.72, -41.73)
CIE-LCHlch(33.11, 68.81, 322.67°)
OKLaboklab(44.76% 0.1425 -0.117)
OKLCHoklch(44.76% 0.184 320.6)
XYZxyz(14.3791, 7.5902, 27.4902)
Luminance0.0759 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2091 #329120
analogous
#462091 #7F2091 #91206B
triadic
#7F2091 #917F20 #20917F
tetradic
#7F2091 #914620 #329120 #206B91
square
#7F2091 #914620 #329120 #206B91
split-complementary
#7F2091 #6B9120 #209146
monochromatic
#270A2D #53155F #7F2091 #AB2BC3 #C452D9

Accessibility & contrast

On white

8.34
#7F2091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7F2091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2091
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2091#FFFFFF#000000##FFFFFF
##7F20911.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004794
Deuteranopia (green-blind)
#2D518E
Tritanopia (blue-blind)
#803758
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7f2091;
/* rgb */ color: rgb(127, 32, 145);
/* oklch */ color: oklch(44.8% 0.184 320.6);
Tailwind
colors: {
  custom: {
    50: '#a867b2',
    500: '#7f2091',
    950: '#000000',
  },
}
SCSS
$custom: #7f2091;
$custom-light: #a867b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2091",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 145
  },
  "hsl": {
    "h": 290.442,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44762,
    "c": 0.18436,
    "h": 320.6
  },
  "luminance": 0.07589
}

Semantic roles & 50–950 ramp

primary
#7F2091
secondary
#62BC51
accent
#E7415B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7F2091

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

Preview Lab → · Contrast checker → · Palette generator →

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