#7E2083#7E2083

#7E2083 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.172 H 325.8°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#7E2083
RGBrgb(126, 32, 131)
HSLhsl(297, 61%, 32%)
HSVhsv(297, 76%, 51%)
CMYKcmyk(3.8%, 75.6%, 0%, 48.6%)
CIE-LABlab(32.05, 51.92, -34.77)
CIE-LCHlch(32.05, 62.49, 326.19°)
OKLaboklab(43.69% 0.1423 -0.0967)
OKLCHoklch(43.69% 0.172 325.8)
XYZxyz(13.2172, 7.1082, 22.1442)
Luminance0.0711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2083 #258320
analogous
#4D2083 #7E2083 #832057
triadic
#7E2083 #837E20 #20837E
tetradic
#7E2083 #834D20 #258320 #205783
square
#7E2083 #834D20 #258320 #205783
split-complementary
#7E2083 #578320 #20834D
monochromatic
#1F0821 #4F1452 #7E2083 #AD2CB4 #CC4AD3

Accessibility & contrast

On white

8.67
#7E2083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7E2083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2083
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2083#FFFFFF#000000##FFFFFF
##7E20831.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024486
Deuteranopia (green-blind)
#364F81
Tritanopia (blue-blind)
#813150
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e2083;
/* rgb */ color: rgb(126, 32, 131);
/* oklch */ color: oklch(43.7% 0.172 325.8);
Tailwind
colors: {
  custom: {
    50: '#a766a7',
    500: '#7e2083',
    950: '#000000',
  },
}
SCSS
$custom: #7e2083;
$custom-light: #a766a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2083",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 131
  },
  "hsl": {
    "h": 296.97,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43688,
    "c": 0.17204,
    "h": 325.8
  },
  "luminance": 0.07107
}

Semantic roles & 50–950 ramp

primary
#7E2083
secondary
#4FB649
accent
#E4444C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7E2083

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

Preview Lab → · Contrast checker → · Palette generator →

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