#7F19A1#7F19A1

#7F19A1 is a mid, highly saturated purple. Relative luminance 0.078; OKLCH L 45.4% C 0.204 H 315.3°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#7F19A1
RGBrgb(127, 25, 161)
HSLhsl(285, 73%, 36%)
HSVhsv(285, 84%, 63%)
CMYKcmyk(21.1%, 84.5%, 0%, 36.9%)
CIE-LABlab(33.52, 59.90, -50.83)
CIE-LCHlch(33.52, 78.56, 319.68°)
OKLaboklab(45.41% 0.1452 -0.1436)
OKLCHoklch(45.41% 0.204 315.3)
XYZxyz(15.5320, 7.7811, 34.3950)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F19A1 #3BA119
analogous
#3B19A1 #7F19A1 #A1197F
triadic
#7F19A1 #A17F19 #19A17F
tetradic
#7F19A1 #A13B19 #3BA119 #197FA1
square
#7F19A1 #A13B19 #3BA119 #197FA1
split-complementary
#7F19A1 #7FA119 #19A13B
monochromatic
#2B0937 #55116C #7F19A1 #A921D6 #BF50E4

Accessibility & contrast

On white

8.22
#7F19A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7F19A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F19A1
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F19A1#FFFFFF#000000##FFFFFF
##7F19A11.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A4
Deuteranopia (green-blind)
#10519E
Tritanopia (blue-blind)
#7C3C60
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7f19a1;
/* rgb */ color: rgb(127, 25, 161);
/* oklch */ color: oklch(45.4% 0.204 315.3);
Tailwind
colors: {
  custom: {
    50: '#a965be',
    500: '#7f19a1',
    950: '#000000',
  },
}
SCSS
$custom: #7f19a1;
$custom-light: #a965be;
$custom-dark: #000000;
JSON
{
  "hex": "#7f19a1",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 161
  },
  "hsl": {
    "h": 285,
    "s": 73.118,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45408,
    "c": 0.20427,
    "h": 315.3
  },
  "luminance": 0.0778
}

Semantic roles & 50–950 ramp

primary
#7F19A1
secondary
#6DC64F
accent
#F03866
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7F19A1

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

Preview Lab → · Contrast checker → · Palette generator →

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