#7E2773#7E2773

#7E2773 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.4% C 0.150 H 333.3°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#7E2773
RGBrgb(126, 39, 115)
HSLhsl(308, 53%, 32%)
HSVhsv(308, 69%, 49%)
CMYKcmyk(0%, 69%, 8.7%, 50.6%)
CIE-LABlab(32.09, 46.47, -24.65)
CIE-LCHlch(32.09, 52.60, 332.06°)
OKLaboklab(43.42% 0.1341 -0.0674)
OKLCHoklch(43.42% 0.15 333.3)
XYZxyz(12.4243, 7.1255, 16.9373)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2773 #277E32
analogous
#5D277E #7E2773 #7E2748
triadic
#7E2773 #737E27 #27737E
tetradic
#7E2773 #7E5D27 #277E32 #27487E
square
#7E2773 #7E5D27 #277E32 #27487E
split-complementary
#7E2773 #487E27 #277E5D
monochromatic
#210A1E #4F1948 #7E2773 #AD359E #CA55BC

Accessibility & contrast

On white

8.66
#7E2773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2773
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2773#FFFFFF#000000##FFFFFF
##7E27731.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244375
Deuteranopia (green-blind)
#425071
Tritanopia (blue-blind)
#842E49
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e2773;
/* rgb */ color: rgb(126, 39, 115);
/* oklch */ color: oklch(43.4% 0.150 333.3);
Tailwind
colors: {
  custom: {
    50: '#a6699b',
    500: '#7e2773',
    950: '#000000',
  },
}
SCSS
$custom: #7e2773;
$custom-light: #a6699b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2773",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 115
  },
  "hsl": {
    "h": 307.586,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43423,
    "c": 0.1501,
    "h": 333.3
  },
  "luminance": 0.07124
}

Semantic roles & 50–950 ramp

primary
#7E2773
secondary
#52AF5D
accent
#DC5E4C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7E2773

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

Preview Lab → · Contrast checker → · Palette generator →

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