#7F199E#7F199E

#7F199E is a mid, highly saturated purple. Relative luminance 0.077; OKLCH L 45.2% C 0.202 H 316.3°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#7F199E
RGBrgb(127, 25, 158)
HSLhsl(286, 73%, 36%)
HSVhsv(286, 84%, 62%)
CMYKcmyk(19.6%, 84.2%, 0%, 38%)
CIE-LABlab(33.30, 59.32, -49.37)
CIE-LCHlch(33.30, 77.17, 320.23°)
OKLaboklab(45.18% 0.1459 -0.1394)
OKLCHoklch(45.18% 0.202 316.3)
XYZxyz(15.2706, 7.6766, 33.0185)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F199E #389E19
analogous
#3C199E #7F199E #9E197A
triadic
#7F199E #9E7F19 #199E7F
tetradic
#7F199E #9E3C19 #389E19 #197A9E
square
#7F199E #9E3C19 #389E19 #197A9E
split-complementary
#7F199E #7A9E19 #199E3C
monochromatic
#2A0834 #551169 #7F199E #A921D3 #C04EE3

Accessibility & contrast

On white

8.28
#7F199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7F199E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F199E
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F199E#FFFFFF#000000##FFFFFF
##7F199E1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#17519B
Tritanopia (blue-blind)
#7D3A5E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7f199e;
/* rgb */ color: rgb(127, 25, 158);
/* oklch */ color: oklch(45.2% 0.202 316.3);
Tailwind
colors: {
  custom: {
    50: '#a965bb',
    500: '#7f199e',
    950: '#000000',
  },
}
SCSS
$custom: #7f199e;
$custom-light: #a965bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f199e",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 286.015,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45182,
    "c": 0.20175,
    "h": 316.3
  },
  "luminance": 0.07676
}

Semantic roles & 50–950 ramp

primary
#7F199E
secondary
#69C54E
accent
#EF3863
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7F199E

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

Preview Lab → · Contrast checker → · Palette generator →

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