#7F189F#7F189F

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

Color values

HEX#7F189F
RGBrgb(127, 24, 159)
HSLhsl(286, 74%, 36%)
HSVhsv(286, 85%, 62%)
CMYKcmyk(20.1%, 84.9%, 0%, 37.6%)
CIE-LABlab(33.28, 59.77, -50.00)
CIE-LCHlch(33.28, 77.93, 320.09°)
OKLaboklab(45.19% 0.1463 -0.1412)
OKLCHoklch(45.19% 0.203 316)
XYZxyz(15.3360, 7.6691, 33.4666)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F189F #389F18
analogous
#3C189F #7F189F #9F187B
triadic
#7F189F #9F7F18 #189F7F
tetradic
#7F189F #9F3C18 #389F18 #187B9F
square
#7F189F #9F3C18 #389F18 #187B9F
split-complementary
#7F189F #7B9F18 #189F3C
monochromatic
#2A0835 #55106A #7F189F #A920D4 #C04DE4

Accessibility & contrast

On white

8.29
#7F189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7F189F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F189F
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F189F#FFFFFF#000000##FFFFFF
##7F189F1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#14519C
Tritanopia (blue-blind)
#7D3B5E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7f189f;
/* rgb */ color: rgb(127, 24, 159);
/* oklch */ color: oklch(45.2% 0.203 316.0);
Tailwind
colors: {
  custom: {
    50: '#a965bc',
    500: '#7f189f',
    950: '#000000',
  },
}
SCSS
$custom: #7f189f;
$custom-light: #a965bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f189f",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 285.778,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45194,
    "c": 0.20335,
    "h": 316
  },
  "luminance": 0.07668
}

Semantic roles & 50–950 ramp

primary
#7F189F
secondary
#69C64D
accent
#F03763
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7F189F

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

Preview Lab → · Contrast checker → · Palette generator →

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