#7F19A5#7F19A5

#7F19A5 is a mid, highly saturated purple. Relative luminance 0.079; OKLCH L 45.7% C 0.208 H 314.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#7F19A5
RGBrgb(127, 25, 165)
HSLhsl(284, 74%, 37%)
HSVhsv(284, 85%, 65%)
CMYKcmyk(23%, 84.8%, 0%, 35.3%)
CIE-LABlab(33.83, 60.68, -52.75)
CIE-LCHlch(33.83, 80.41, 319.00°)
OKLaboklab(45.71% 0.1443 -0.1493)
OKLCHoklch(45.71% 0.208 314)
XYZxyz(15.8904, 7.9245, 36.2825)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F19A5 #3FA519
analogous
#3919A5 #7F19A5 #A51985
triadic
#7F19A5 #A57F19 #19A57F
tetradic
#7F19A5 #A53919 #3FA519 #1985A5
square
#7F19A5 #A53919 #3FA519 #1985A5
split-complementary
#7F19A5 #85A519 #19A539
monochromatic
#2D093B #561170 #7F19A5 #A821DA #BD53E5

Accessibility & contrast

On white

8.12
#7F19A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7F19A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F19A5
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F19A5#FFFFFF#000000##FFFFFF
##7F19A51.008.122.588.12
#FFFFFF8.121.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA9
Deuteranopia (green-blind)
#0252A2
Tritanopia (blue-blind)
#7B3E62
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7f19a5;
/* rgb */ color: rgb(127, 25, 165);
/* oklch */ color: oklch(45.7% 0.208 314.0);
Tailwind
colors: {
  custom: {
    50: '#a966c1',
    500: '#7f19a5',
    950: '#000000',
  },
}
SCSS
$custom: #7f19a5;
$custom-light: #a966c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f19a5",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 165
  },
  "hsl": {
    "h": 283.714,
    "s": 73.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45713,
    "c": 0.20764,
    "h": 314
  },
  "luminance": 0.07924
}

Semantic roles & 50–950 ramp

primary
#7F19A5
secondary
#72C852
accent
#F0376A
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7F19A5

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

Preview Lab → · Contrast checker → · Palette generator →

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