#7F108D#7F108D

#7F108D is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.4% C 0.194 H 322.7°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#7F108D
RGBrgb(127, 16, 141)
HSLhsl(293, 80%, 31%)
HSVhsv(293, 89%, 55%)
CMYKcmyk(9.9%, 88.7%, 0%, 44.7%)
CIE-LABlab(31.36, 58.30, -42.08)
CIE-LCHlch(31.36, 71.89, 324.18°)
OKLaboklab(43.44% 0.1546 -0.1179)
OKLCHoklch(43.44% 0.194 322.7)
XYZxyz(13.7449, 6.8066, 25.7840)
Luminance0.0681 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F108D #1E8D10
analogous
#40108D #7F108D #8D105C
triadic
#7F108D #8D7F10 #108D7F
tetradic
#7F108D #8D4010 #1E8D10 #105C8D
square
#7F108D #8D4010 #1E8D10 #105C8D
split-complementary
#7F108D #5C8D10 #108D40
monochromatic
#1C041F #4D0A56 #7F108D #B116C4 #D330E7

Accessibility & contrast

On white

8.89
#7F108D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7F108D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F108D
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F108D#FFFFFF#000000##FFFFFF
##7F108D1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#294E8A
Tritanopia (blue-blind)
#812E53
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f108d;
/* rgb */ color: rgb(127, 16, 141);
/* oklch */ color: oklch(43.4% 0.194 322.7);
Tailwind
colors: {
  custom: {
    50: '#a862af',
    500: '#7f108d',
    950: '#000000',
  },
}
SCSS
$custom: #7f108d;
$custom-light: #a862af;
$custom-dark: #000000;
JSON
{
  "hex": "#7f108d",
  "rgb": {
    "r": 127,
    "g": 16,
    "b": 141
  },
  "hsl": {
    "h": 293.28,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43441,
    "c": 0.19439,
    "h": 322.7
  },
  "luminance": 0.06806
}

Semantic roles & 50–950 ramp

primary
#7F108D
secondary
#47C237
accent
#F63248
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7F108D

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

Preview Lab → · Contrast checker → · Palette generator →

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