#7D2186#7D2186

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

Color values

HEX#7D2186
RGBrgb(125, 33, 134)
HSLhsl(295, 60%, 33%)
HSVhsv(295, 75%, 53%)
CMYKcmyk(6.7%, 75.4%, 0%, 47.5%)
CIE-LABlab(32.19, 51.89, -36.43)
CIE-LCHlch(32.19, 63.40, 324.93°)
OKLaboklab(43.81% 0.14 -0.1016)
OKLCHoklch(43.81% 0.173 324)
XYZxyz(13.3040, 7.1697, 23.2328)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2186 #2A8621
analogous
#4A2186 #7D2186 #86215D
triadic
#7D2186 #867D21 #21867D
tetradic
#7D2186 #864A21 #2A8621 #215D86
square
#7D2186 #864A21 #2A8621 #215D86
split-complementary
#7D2186 #5D8621 #21864A
monochromatic
#210924 #4F1555 #7D2186 #AB2DB7 #C84ED3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D2186#FFFFFF#000000##FFFFFF
##7D21861.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)
#004589
Deuteranopia (green-blind)
#344F84
Tritanopia (blue-blind)
#7F3352
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d2186;
/* rgb */ color: rgb(125, 33, 134);
/* oklch */ color: oklch(43.8% 0.173 324.0);
Tailwind
colors: {
  custom: {
    50: '#a667aa',
    500: '#7d2186',
    950: '#000000',
  },
}
SCSS
$custom: #7d2186;
$custom-light: #a667aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2186",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 294.653,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43813,
    "c": 0.17298,
    "h": 324
  },
  "luminance": 0.07169
}

Semantic roles & 50–950 ramp

primary
#7D2186
secondary
#56B74C
accent
#E44452
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D2186

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

Preview Lab → · Contrast checker → · Palette generator →

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