#7F1083#7F1083

#7F1083 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.8% C 0.187 H 326.6°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#7F1083
RGBrgb(127, 16, 131)
HSLhsl(298, 78%, 29%)
HSVhsv(298, 88%, 51%)
CMYKcmyk(3.1%, 87.8%, 0%, 48.6%)
CIE-LABlab(30.69, 56.58, -36.93)
CIE-LCHlch(30.69, 67.56, 326.87°)
OKLaboklab(42.76% 0.1558 -0.1028)
OKLCHoklch(42.76% 0.187 326.6)
XYZxyz(13.0342, 6.5223, 22.0407)
Luminance0.0652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1083 #148310
analogous
#461083 #7F1083 #83104E
triadic
#7F1083 #837F10 #10837F
tetradic
#7F1083 #834610 #148310 #104E83
square
#7F1083 #834610 #148310 #104E83
split-complementary
#7F1083 #4E8310 #108346
monochromatic
#1A031B #4A094C #7F1083 #B417BA #DE29E5

Accessibility & contrast

On white

9.11
#7F1083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7F1083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1083
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1083#FFFFFF#000000##FFFFFF
##7F10831.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#314D80
Tritanopia (blue-blind)
#83284D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f1083;
/* rgb */ color: rgb(127, 16, 131);
/* oklch */ color: oklch(42.8% 0.187 326.6);
Tailwind
colors: {
  custom: {
    50: '#a861a7',
    500: '#7f1083',
    950: '#000000',
  },
}
SCSS
$custom: #7f1083;
$custom-light: #a861a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1083",
  "rgb": {
    "r": 127,
    "g": 16,
    "b": 131
  },
  "hsl": {
    "h": 297.913,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42758,
    "c": 0.18671,
    "h": 326.6
  },
  "luminance": 0.06521
}

Semantic roles & 50–950 ramp

primary
#7F1083
secondary
#3BB936
accent
#F5333A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7F1083

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

Preview Lab → · Contrast checker → · Palette generator →

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