#7D2E86#7D2E86

#7D2E86 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.2% C 0.156 H 323.5°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#7D2E86
RGBrgb(125, 46, 134)
HSLhsl(294, 49%, 35%)
HSVhsv(294, 66%, 53%)
CMYKcmyk(6.7%, 65.7%, 0%, 47.5%)
CIE-LABlab(34.06, 46.63, -33.45)
CIE-LCHlch(34.06, 57.39, 324.34°)
OKLaboklab(45.15% 0.1256 -0.093)
OKLCHoklch(45.15% 0.156 323.5)
XYZxyz(13.7371, 8.0360, 23.3772)
Luminance0.0804 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2E86 #37862E
analogous
#512E86 #7D2E86 #862E63
triadic
#7D2E86 #867D2E #2E867D
tetradic
#7D2E86 #86512E #37862E #2E6386
square
#7D2E86 #86512E #37862E #2E6386
split-complementary
#7D2E86 #63862E #2E8651
monochromatic
#280F2B #521E58 #7D2E86 #A83EB4 #C064CA

Accessibility & contrast

On white

8.06
#7D2E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7D2E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2E86
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2E86#FFFFFF#000000##FFFFFF
##7D2E861.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4A89
Deuteranopia (green-blind)
#3C5384
Tritanopia (blue-blind)
#7F3C56
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d2e86;
/* rgb */ color: rgb(125, 46, 134);
/* oklch */ color: oklch(45.2% 0.156 323.5);
Tailwind
colors: {
  custom: {
    50: '#a56da9',
    500: '#7d2e86',
    950: '#000000',
  },
}
SCSS
$custom: #7d2e86;
$custom-light: #a56da9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2e86",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 293.864,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45154,
    "c": 0.15627,
    "h": 323.5
  },
  "luminance": 0.08035
}

Semantic roles & 50–950 ramp

primary
#7D2E86
secondary
#67B15F
accent
#D84F5D
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2E86

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

Preview Lab → · Contrast checker → · Palette generator →

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