#7F1890#7F1890

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

Color values

HEX#7F1890
RGBrgb(127, 24, 144)
HSLhsl(292, 71%, 33%)
HSVhsv(292, 83%, 56%)
CMYKcmyk(11.8%, 83.3%, 0%, 43.5%)
CIE-LABlab(32.21, 56.95, -42.56)
CIE-LCHlch(32.21, 71.10, 323.23°)
OKLaboklab(44.1% 0.149 -0.1194)
OKLCHoklch(44.1% 0.191 321.3)
XYZxyz(14.1125, 7.1797, 27.0226)
Luminance0.0718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1890 #299018
analogous
#431890 #7F1890 #901865
triadic
#7F1890 #907F18 #18907F
tetradic
#7F1890 #904318 #299018 #186590
square
#7F1890 #904318 #299018 #186590
split-complementary
#7F1890 #659018 #189043
monochromatic
#220727 #510F5C #7F1890 #AD21C4 #C943E0

Accessibility & contrast

On white

8.62
#7F1890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1890
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1890#FFFFFF#000000##FFFFFF
##7F18901.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1890;
/* rgb */ color: rgb(127, 24, 144);
/* oklch */ color: oklch(44.1% 0.191 321.3);
Tailwind
colors: {
  custom: {
    50: '#a864b1',
    500: '#7f1890',
    950: '#000000',
  },
}
SCSS
$custom: #7f1890;
$custom-light: #a864b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1890",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 144
  },
  "hsl": {
    "h": 291.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44104,
    "c": 0.19096,
    "h": 321.3
  },
  "luminance": 0.07179
}

Semantic roles & 50–950 ramp

primary
#7F1890
secondary
#55C043
accent
#EE3A53
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7F1890

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

Preview Lab → · Contrast checker → · Palette generator →

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