#7F198F#7F198F

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

Color values

HEX#7F198F
RGBrgb(127, 25, 143)
HSLhsl(292, 70%, 33%)
HSVhsv(292, 83%, 56%)
CMYKcmyk(11.2%, 82.5%, 0%, 43.9%)
CIE-LABlab(32.24, 56.49, -41.90)
CIE-LCHlch(32.24, 70.34, 323.44°)
OKLaboklab(44.1% 0.1485 -0.1175)
OKLCHoklch(44.1% 0.189 321.6)
XYZxyz(14.0574, 7.1913, 26.6289)
Luminance0.0719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F198F #298F19
analogous
#44198F #7F198F #8F1964
triadic
#7F198F #8F7F19 #198F7F
tetradic
#7F198F #8F4419 #298F19 #19648F
square
#7F198F #8F4419 #298F19 #19648F
split-complementary
#7F198F #648F19 #198F44
monochromatic
#220727 #51105B #7F198F #AD22C3 #C944DE

Accessibility & contrast

On white

8.61
#7F198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F198F
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F198F#FFFFFF#000000##FFFFFF
##7F198F1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#2B4F8C
Tritanopia (blue-blind)
#803355
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f198f;
/* rgb */ color: rgb(127, 25, 143);
/* oklch */ color: oklch(44.1% 0.189 321.6);
Tailwind
colors: {
  custom: {
    50: '#a864b0',
    500: '#7f198f',
    950: '#000000',
  },
}
SCSS
$custom: #7f198f;
$custom-light: #a864b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f198f",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 291.864,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.441,
    "c": 0.18931,
    "h": 321.6
  },
  "luminance": 0.0719
}

Semantic roles & 50–950 ramp

primary
#7F198F
secondary
#55BF44
accent
#ED3B53
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7F198F

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

Preview Lab → · Contrast checker → · Palette generator →

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