#7F1070#7F1070

#7F1070 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.173 H 334.9°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#7F1070
RGBrgb(127, 16, 112)
HSLhsl(308, 78%, 28%)
HSVhsv(308, 87%, 50%)
CMYKcmyk(0%, 87.4%, 11.8%, 50.2%)
CIE-LABlab(29.55, 53.55, -26.72)
CIE-LCHlch(29.55, 59.84, 333.48°)
OKLaboklab(41.58% 0.1565 -0.0732)
OKLCHoklch(41.58% 0.173 334.9)
XYZxyz(11.8625, 6.0536, 15.8698)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1070 #107F1F
analogous
#56107F #7F1070 #7F1038
triadic
#7F1070 #707F10 #10707F
tetradic
#7F1070 #7F5610 #107F1F #10387F
square
#7F1070 #7F5610 #107F1F #10387F
split-complementary
#7F1070 #387F10 #107F56
monochromatic
#1B0318 #490940 #7F1070 #B517A0 #E426CA

Accessibility & contrast

On white

9.50
#7F1070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7F1070 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1070
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1070#FFFFFF#000000##FFFFFF
##7F10701.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3B72
Deuteranopia (green-blind)
#3C4B6E
Tritanopia (blue-blind)
#861D42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f1070;
/* rgb */ color: rgb(127, 16, 112);
/* oklch */ color: oklch(41.6% 0.173 334.9);
Tailwind
colors: {
  custom: {
    50: '#a86099',
    500: '#7f1070',
    950: '#000000',
  },
}
SCSS
$custom: #7f1070;
$custom-light: #a86099;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1070",
  "rgb": {
    "r": 127,
    "g": 16,
    "b": 112
  },
  "hsl": {
    "h": 308.108,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41576,
    "c": 0.17278,
    "h": 334.9
  },
  "luminance": 0.06052
}

Semantic roles & 50–950 ramp

primary
#7F1070
secondary
#36B547
accent
#F44E34
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7F1070

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

Preview Lab → · Contrast checker → · Palette generator →

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