#7D2296#7D2296

#7D2296 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.186 H 317.8°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#7D2296
RGBrgb(125, 34, 150)
HSLhsl(287, 63%, 36%)
HSVhsv(287, 77%, 59%)
CMYKcmyk(16.7%, 77.3%, 0%, 41.2%)
CIE-LABlab(33.36, 54.59, -44.41)
CIE-LCHlch(33.36, 70.37, 320.88°)
OKLaboklab(44.98% 0.1376 -0.1249)
OKLCHoklch(44.98% 0.186 317.8)
XYZxyz(14.5337, 7.7067, 29.5702)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2296 #3B9622
analogous
#432296 #7D2296 #962275
triadic
#7D2296 #967D22 #22967D
tetradic
#7D2296 #964322 #3B9622 #227596
square
#7D2296 #964322 #3B9622 #227596
split-complementary
#7D2296 #759622 #229643
monochromatic
#2A0B32 #531764 #7D2296 #A72DC8 #BE59D9

Accessibility & contrast

On white

8.26
#7D2296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7D2296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2296
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2296#FFFFFF#000000##FFFFFF
##7D22961.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#265193
Tritanopia (blue-blind)
#7C3B5B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d2296;
/* rgb */ color: rgb(125, 34, 150);
/* oklch */ color: oklch(45.0% 0.186 317.8);
Tailwind
colors: {
  custom: {
    50: '#a668b5',
    500: '#7d2296',
    950: '#000000',
  },
}
SCSS
$custom: #7d2296;
$custom-light: #a668b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2296",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 287.069,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44982,
    "c": 0.18585,
    "h": 317.8
  },
  "luminance": 0.07706
}

Semantic roles & 50–950 ramp

primary
#7D2296
secondary
#6CBE56
accent
#E64265
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2296

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

Preview Lab → · Contrast checker → · Palette generator →

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