#7F19A7#7F19A7

#7F19A7 is a mid, highly saturated purple. Relative luminance 0.080; OKLCH L 45.9% C 0.209 H 313.4°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#7F19A7
RGBrgb(127, 25, 167)
HSLhsl(283, 74%, 38%)
HSVhsv(283, 85%, 65%)
CMYKcmyk(24%, 85%, 0%, 34.5%)
CIE-LABlab(33.98, 61.08, -53.71)
CIE-LCHlch(33.98, 81.33, 318.67°)
OKLaboklab(45.87% 0.1438 -0.1521)
OKLCHoklch(45.87% 0.209 313.4)
XYZxyz(16.0738, 7.9978, 37.2487)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F19A7 #41A719
analogous
#3819A7 #7F19A7 #A71988
triadic
#7F19A7 #A77F19 #19A77F
tetradic
#7F19A7 #A73819 #41A719 #1988A7
square
#7F19A7 #A73819 #41A719 #1988A7
split-complementary
#7F19A7 #88A719 #19A738
monochromatic
#2E093D #571172 #7F19A7 #A721DC #BD55E6

Accessibility & contrast

On white

8.08
#7F19A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7F19A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F19A7
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F19A7#FFFFFF#000000##FFFFFF
##7F19A71.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAB
Deuteranopia (green-blind)
#0052A4
Tritanopia (blue-blind)
#7B3F63
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7f19a7;
/* rgb */ color: rgb(127, 25, 167);
/* oklch */ color: oklch(45.9% 0.209 313.4);
Tailwind
colors: {
  custom: {
    50: '#a966c2',
    500: '#7f19a7',
    950: '#000000',
  },
}
SCSS
$custom: #7f19a7;
$custom-light: #a966c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f19a7",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 167
  },
  "hsl": {
    "h": 283.099,
    "s": 73.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45868,
    "c": 0.20933,
    "h": 313.4
  },
  "luminance": 0.07997
}

Semantic roles & 50–950 ramp

primary
#7F19A7
secondary
#74C853
accent
#F1376B
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7F19A7

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

Preview Lab → · Contrast checker → · Palette generator →

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