#7D2286#7D2286

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

Color values

HEX#7D2286
RGBrgb(125, 34, 134)
HSLhsl(295, 60%, 33%)
HSVhsv(295, 75%, 53%)
CMYKcmyk(6.7%, 74.6%, 0%, 47.5%)
CIE-LABlab(32.32, 51.53, -36.22)
CIE-LCHlch(32.32, 62.99, 324.89°)
OKLaboklab(43.9% 0.139 -0.101)
OKLCHoklch(43.9% 0.172 324)
XYZxyz(13.3322, 7.2261, 23.2422)
Luminance0.0722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2286 #2B8622
analogous
#4B2286 #7D2286 #86225D
triadic
#7D2286 #867D22 #22867D
tetradic
#7D2286 #864B22 #2B8622 #225D86
square
#7D2286 #864B22 #2B8622 #225D86
split-complementary
#7D2286 #5D8622 #22864B
monochromatic
#220924 #4F1655 #7D2286 #AB2EB7 #C750D3

Accessibility & contrast

On white

8.59
#7D2286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7D2286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2286
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2286#FFFFFF#000000##FFFFFF
##7D22861.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#345084
Tritanopia (blue-blind)
#7F3452
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d2286;
/* rgb */ color: rgb(125, 34, 134);
/* oklch */ color: oklch(43.9% 0.172 324.0);
Tailwind
colors: {
  custom: {
    50: '#a667aa',
    500: '#7d2286',
    950: '#000000',
  },
}
SCSS
$custom: #7d2286;
$custom-light: #a667aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2286",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 294.6,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43902,
    "c": 0.17184,
    "h": 324
  },
  "luminance": 0.07225
}

Semantic roles & 50–950 ramp

primary
#7D2286
secondary
#57B64E
accent
#E34553
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D2286

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

Preview Lab → · Contrast checker → · Palette generator →

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