#7F1689#7F1689

#7F1689 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.5% C 0.187 H 324.1°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#7F1689
RGBrgb(127, 22, 137)
HSLhsl(295, 72%, 31%)
HSVhsv(295, 84%, 54%)
CMYKcmyk(7.3%, 83.9%, 0%, 46.3%)
CIE-LABlab(31.56, 56.22, -39.28)
CIE-LCHlch(31.56, 68.58, 325.06°)
OKLaboklab(43.5% 0.1514 -0.1097)
OKLCHoklch(43.5% 0.187 324.1)
XYZxyz(13.5543, 6.8929, 24.2786)
Luminance0.0689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1689 #208916
analogous
#451689 #7F1689 #891659
triadic
#7F1689 #897F16 #16897F
tetradic
#7F1689 #894516 #208916 #165989
square
#7F1689 #894516 #208916 #165989
split-complementary
#7F1689 #598916 #168945
monochromatic
#1D0520 #4E0E54 #7F1689 #B01EBE #D13ADF

Accessibility & contrast

On white

8.83
#7F1689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7F1689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1689
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1689#FFFFFF#000000##FFFFFF
##7F16891.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#2E4E86
Tritanopia (blue-blind)
#812E51
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f1689;
/* rgb */ color: rgb(127, 22, 137);
/* oklch */ color: oklch(43.5% 0.187 324.1);
Tailwind
colors: {
  custom: {
    50: '#a863ac',
    500: '#7f1689',
    950: '#000000',
  },
}
SCSS
$custom: #7f1689;
$custom-light: #a863ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1689",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 294.783,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43495,
    "c": 0.18696,
    "h": 324.1
  },
  "luminance": 0.06892
}

Semantic roles & 50–950 ramp

primary
#7F1689
secondary
#49BD3E
accent
#EF3949
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7F1689

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

Preview Lab → · Contrast checker → · Palette generator →

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