#7F106E#7F106E

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

Color values

HEX#7F106E
RGBrgb(127, 16, 110)
HSLhsl(309, 78%, 28%)
HSVhsv(309, 87%, 50%)
CMYKcmyk(0%, 87.4%, 13.4%, 50.2%)
CIE-LABlab(29.44, 53.25, -25.62)
CIE-LCHlch(29.44, 59.09, 334.31°)
OKLaboklab(41.46% 0.1564 -0.07)
OKLCHoklch(41.46% 0.171 335.9)
XYZxyz(11.7524, 6.0095, 15.2898)
Luminance0.0601 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F106E #107F21
analogous
#58107F #7F106E #7F1037
triadic
#7F106E #6E7F10 #106E7F
tetradic
#7F106E #7F5810 #107F21 #10377F
square
#7F106E #7F5810 #107F21 #10377F
split-complementary
#7F106E #377F10 #107F58
monochromatic
#1B0318 #49093F #7F106E #B5179D #E426C7

Accessibility & contrast

On white

9.54
#7F106E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7F106E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F106E
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F106E#FFFFFF#000000##FFFFFF
##7F106E1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123B70
Deuteranopia (green-blind)
#3D4B6C
Tritanopia (blue-blind)
#861B40
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f106e;
/* rgb */ color: rgb(127, 16, 110);
/* oklch */ color: oklch(41.5% 0.171 335.9);
Tailwind
colors: {
  custom: {
    50: '#a86098',
    500: '#7f106e',
    950: '#000000',
  },
}
SCSS
$custom: #7f106e;
$custom-light: #a86098;
$custom-dark: #000000;
JSON
{
  "hex": "#7f106e",
  "rgb": {
    "r": 127,
    "g": 16,
    "b": 110
  },
  "hsl": {
    "h": 309.189,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41462,
    "c": 0.17138,
    "h": 335.9
  },
  "luminance": 0.06008
}

Semantic roles & 50–950 ramp

primary
#7F106E
secondary
#36B549
accent
#F45134
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7F106E

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

Preview Lab → · Contrast checker → · Palette generator →

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