#7F107D#7F107D

#7F107D is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.4% C 0.182 H 329.1°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#7F107D
RGBrgb(127, 16, 125)
HSLhsl(301, 78%, 28%)
HSVhsv(301, 87%, 50%)
CMYKcmyk(0%, 87.4%, 1.6%, 50.2%)
CIE-LABlab(30.31, 55.58, -33.76)
CIE-LCHlch(30.31, 65.03, 328.72°)
OKLaboklab(42.37% 0.1563 -0.0936)
OKLCHoklch(42.37% 0.182 329.1)
XYZxyz(12.6393, 6.3643, 19.9608)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F107D #107F12
analogous
#49107F #7F107D #7F1045
triadic
#7F107D #7D7F10 #107D7F
tetradic
#7F107D #7F4910 #107F12 #10457F
square
#7F107D #7F4910 #107F12 #10457F
split-complementary
#7F107D #457F10 #107F49
monochromatic
#1B031B #490948 #7F107D #B517B2 #E426E0

Accessibility & contrast

On white

9.24
#7F107D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7F107D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F107D
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F107D#FFFFFF#000000##FFFFFF
##7F107D1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#354C7B
Tritanopia (blue-blind)
#842549
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f107d;
/* rgb */ color: rgb(127, 16, 125);
/* oklch */ color: oklch(42.4% 0.182 329.1);
Tailwind
colors: {
  custom: {
    50: '#a861a3',
    500: '#7f107d',
    950: '#000000',
  },
}
SCSS
$custom: #7f107d;
$custom-light: #a861a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f107d",
  "rgb": {
    "r": 127,
    "g": 16,
    "b": 125
  },
  "hsl": {
    "h": 301.081,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.42368,
    "c": 0.1822,
    "h": 329.1
  },
  "luminance": 0.06363
}

Semantic roles & 50–950 ramp

primary
#7F107D
secondary
#36B538
accent
#F43734
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7F107D

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

Preview Lab → · Contrast checker → · Palette generator →

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