#7E2085#7E2085

#7E2085 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.8% C 0.174 H 325.0°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#7E2085
RGBrgb(126, 32, 133)
HSLhsl(296, 61%, 32%)
HSVhsv(296, 76%, 52%)
CMYKcmyk(5.3%, 75.9%, 0%, 47.8%)
CIE-LABlab(32.18, 52.28, -35.82)
CIE-LCHlch(32.18, 63.37, 325.59°)
OKLaboklab(43.82% 0.1422 -0.0997)
OKLCHoklch(43.82% 0.174 325)
XYZxyz(13.3540, 7.1630, 22.8650)
Luminance0.0716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2085 #278520
analogous
#4C2085 #7E2085 #852059
triadic
#7E2085 #857E20 #20857E
tetradic
#7E2085 #854C20 #278520 #205985
square
#7E2085 #854C20 #278520 #205985
split-complementary
#7E2085 #598520 #20854C
monochromatic
#210822 #4F1454 #7E2085 #AD2CB6 #CA4CD4

Accessibility & contrast

On white

8.63
#7E2085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7E2085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2085
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2085#FFFFFF#000000##FFFFFF
##7E20851.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#355083
Tritanopia (blue-blind)
#813251
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7e2085;
/* rgb */ color: rgb(126, 32, 133);
/* oklch */ color: oklch(43.8% 0.174 325.0);
Tailwind
colors: {
  custom: {
    50: '#a766a9',
    500: '#7e2085',
    950: '#000000',
  },
}
SCSS
$custom: #7e2085;
$custom-light: #a766a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2085",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 295.842,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43815,
    "c": 0.17371,
    "h": 325
  },
  "luminance": 0.07162
}

Semantic roles & 50–950 ramp

primary
#7E2085
secondary
#52B74A
accent
#E4434F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7E2085

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

Preview Lab → · Contrast checker → · Palette generator →

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