#7F1990#7F1990

#7F1990 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.2% C 0.190 H 321.3°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#7F1990
RGBrgb(127, 25, 144)
HSLhsl(291, 70%, 33%)
HSVhsv(291, 83%, 56%)
CMYKcmyk(11.8%, 82.6%, 0%, 43.5%)
CIE-LABlab(32.31, 56.68, -42.41)
CIE-LCHlch(32.31, 70.79, 323.19°)
OKLaboklab(44.17% 0.1483 -0.1189)
OKLCHoklch(44.17% 0.19 321.3)
XYZxyz(14.1335, 7.2217, 27.0296)
Luminance0.0722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1990 #2A9019
analogous
#441990 #7F1990 #901965
triadic
#7F1990 #907F19 #19907F
tetradic
#7F1990 #904419 #2A9019 #196590
square
#7F1990 #904419 #2A9019 #196590
split-complementary
#7F1990 #659019 #199044
monochromatic
#230728 #51105C #7F1990 #AD22C4 #C945DF

Accessibility & contrast

On white

8.59
#7F1990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7F1990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1990
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1990#FFFFFF#000000##FFFFFF
##7F19901.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#2A508D
Tritanopia (blue-blind)
#803356
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f1990;
/* rgb */ color: rgb(127, 25, 144);
/* oklch */ color: oklch(44.2% 0.190 321.3);
Tailwind
colors: {
  custom: {
    50: '#a864b1',
    500: '#7f1990',
    950: '#000000',
  },
}
SCSS
$custom: #7f1990;
$custom-light: #a864b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1990",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 291.429,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4417,
    "c": 0.19012,
    "h": 321.3
  },
  "luminance": 0.07221
}

Semantic roles & 50–950 ramp

primary
#7F1990
secondary
#57C045
accent
#ED3B54
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7F1990

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

Preview Lab → · Contrast checker → · Palette generator →

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