#7E1083#7E1083

#7E1083 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.6% C 0.186 H 326.2°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#7E1083
RGBrgb(126, 16, 131)
HSLhsl(297, 78%, 29%)
HSVhsv(297, 88%, 51%)
CMYKcmyk(3.8%, 87.8%, 0%, 48.6%)
CIE-LABlab(30.51, 56.38, -37.23)
CIE-LCHlch(30.51, 67.57, 326.56°)
OKLaboklab(42.59% 0.1547 -0.1038)
OKLCHoklch(42.59% 0.186 326.2)
XYZxyz(12.8860, 6.4458, 22.0338)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1083 #158310
analogous
#451083 #7E1083 #83104F
triadic
#7E1083 #837E10 #10837E
tetradic
#7E1083 #834510 #158310 #104F83
square
#7E1083 #834510 #158310 #104F83
split-complementary
#7E1083 #4F8310 #108345
monochromatic
#1A031B #4A094C #7E1083 #B217BA #DD29E5

Accessibility & contrast

On white

9.17
#7E1083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7E1083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1083
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1083#FFFFFF#000000##FFFFFF
##7E10831.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#304C80
Tritanopia (blue-blind)
#81294D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e1083;
/* rgb */ color: rgb(126, 16, 131);
/* oklch */ color: oklch(42.6% 0.186 326.2);
Tailwind
colors: {
  custom: {
    50: '#a761a7',
    500: '#7e1083',
    950: '#000000',
  },
}
SCSS
$custom: #7e1083;
$custom-light: #a761a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1083",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 131
  },
  "hsl": {
    "h": 297.391,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42594,
    "c": 0.18629,
    "h": 326.2
  },
  "luminance": 0.06445
}

Semantic roles & 50–950 ramp

primary
#7E1083
secondary
#3CB936
accent
#F5333B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7E1083

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

Preview Lab → · Contrast checker → · Palette generator →

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