#7D2086#7D2086

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

Color values

HEX#7D2086
RGBrgb(125, 32, 134)
HSLhsl(295, 61%, 33%)
HSVhsv(295, 76%, 53%)
CMYKcmyk(6.7%, 76.1%, 0%, 47.5%)
CIE-LABlab(32.07, 52.24, -36.62)
CIE-LCHlch(32.07, 63.80, 324.97°)
OKLaboklab(43.73% 0.141 -0.1021)
OKLCHoklch(43.73% 0.174 324.1)
XYZxyz(13.2767, 7.1151, 23.2237)
Luminance0.0711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2086 #298620
analogous
#4A2086 #7D2086 #86205C
triadic
#7D2086 #867D20 #20867D
tetradic
#7D2086 #864A20 #298620 #205C86
square
#7D2086 #864A20 #298620 #205C86
split-complementary
#7D2086 #5C8620 #20864A
monochromatic
#210823 #4F1455 #7D2086 #AB2CB7 #C84CD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D2086#FFFFFF#000000##FFFFFF
##7D20861.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)
#004489
Deuteranopia (green-blind)
#334F84
Tritanopia (blue-blind)
#7F3352
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d2086;
/* rgb */ color: rgb(125, 32, 134);
/* oklch */ color: oklch(43.7% 0.174 324.1);
Tailwind
colors: {
  custom: {
    50: '#a666aa',
    500: '#7d2086',
    950: '#000000',
  },
}
SCSS
$custom: #7d2086;
$custom-light: #a666aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2086",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 294.706,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43725,
    "c": 0.17409,
    "h": 324.1
  },
  "luminance": 0.07114
}

Semantic roles & 50–950 ramp

primary
#7D2086
secondary
#54B74B
accent
#E54351
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D2086

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

Preview Lab → · Contrast checker → · Palette generator →

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