#7F106F#7F106F

#7F106F is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.172 H 335.4°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#7F106F
RGBrgb(127, 16, 111)
HSLhsl(309, 78%, 28%)
HSVhsv(309, 87%, 50%)
CMYKcmyk(0%, 87.4%, 12.6%, 50.2%)
CIE-LABlab(29.49, 53.40, -26.17)
CIE-LCHlch(29.49, 59.47, 333.89°)
OKLaboklab(41.52% 0.1565 -0.0716)
OKLCHoklch(41.52% 0.172 335.4)
XYZxyz(11.8071, 6.0314, 15.5782)
Luminance0.0603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F106F #107F20
analogous
#57107F #7F106F #7F1037
triadic
#7F106F #6F7F10 #106F7F
tetradic
#7F106F #7F5710 #107F20 #10377F
square
#7F106F #7F5710 #107F20 #10377F
split-complementary
#7F106F #377F10 #107F57
monochromatic
#1B0318 #49093F #7F106F #B5179F #E426C8

Accessibility & contrast

On white

9.52
#7F106F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F106F
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F106F#FFFFFF#000000##FFFFFF
##7F106F1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103B71
Deuteranopia (green-blind)
#3D4B6D
Tritanopia (blue-blind)
#861C41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f106f;
/* rgb */ color: rgb(127, 16, 111);
/* oklch */ color: oklch(41.5% 0.172 335.4);
Tailwind
colors: {
  custom: {
    50: '#a86098',
    500: '#7f106f',
    950: '#000000',
  },
}
SCSS
$custom: #7f106f;
$custom-light: #a86098;
$custom-dark: #000000;
JSON
{
  "hex": "#7f106f",
  "rgb": {
    "r": 127,
    "g": 16,
    "b": 111
  },
  "hsl": {
    "h": 308.649,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41519,
    "c": 0.17208,
    "h": 335.4
  },
  "luminance": 0.0603
}

Semantic roles & 50–950 ramp

primary
#7F106F
secondary
#36B548
accent
#F44F34
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7F106F

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

Preview Lab → · Contrast checker → · Palette generator →

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