#7E2673#7E2673

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

Color values

HEX#7E2673
RGBrgb(126, 38, 115)
HSLhsl(308, 54%, 32%)
HSVhsv(308, 70%, 49%)
CMYKcmyk(0%, 69.8%, 8.7%, 50.6%)
CIE-LABlab(31.94, 46.88, -24.88)
CIE-LCHlch(31.94, 53.07, 332.05°)
OKLaboklab(43.32% 0.1353 -0.0681)
OKLCHoklch(43.32% 0.151 333.3)
XYZxyz(12.3919, 7.0607, 16.9265)
Luminance0.0706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2673 #267E31
analogous
#5D267E #7E2673 #7E2647
triadic
#7E2673 #737E26 #26737E
tetradic
#7E2673 #7E5D26 #267E31 #26477E
square
#7E2673 #7E5D26 #267E31 #26477E
split-complementary
#7E2673 #477E26 #267E5D
monochromatic
#200A1D #4F1848 #7E2673 #AD349E #CB53BC

Accessibility & contrast

On white

8.71
#7E2673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7E2673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2673
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2673#FFFFFF#000000##FFFFFF
##7E26731.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2673;
/* rgb */ color: rgb(126, 38, 115);
/* oklch */ color: oklch(43.3% 0.151 333.3);
Tailwind
colors: {
  custom: {
    50: '#a6689b',
    500: '#7e2673',
    950: '#000000',
  },
}
SCSS
$custom: #7e2673;
$custom-light: #a6689b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2673",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 115
  },
  "hsl": {
    "h": 307.5,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43317,
    "c": 0.15146,
    "h": 333.3
  },
  "luminance": 0.0706
}

Semantic roles & 50–950 ramp

primary
#7E2673
secondary
#50B05C
accent
#DD5D4B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7E2673

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

Preview Lab → · Contrast checker → · Palette generator →

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