#7D2396#7D2396

#7D2396 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.185 H 317.7°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#7D2396
RGBrgb(125, 35, 150)
HSLhsl(287, 62%, 36%)
HSVhsv(287, 77%, 59%)
CMYKcmyk(16.7%, 76.7%, 0%, 41.2%)
CIE-LABlab(33.49, 54.24, -44.21)
CIE-LCHlch(33.49, 69.97, 320.82°)
OKLaboklab(45.07% 0.1367 -0.1243)
OKLCHoklch(45.07% 0.185 317.7)
XYZxyz(14.5627, 7.7647, 29.5799)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2396 #3C9623
analogous
#442396 #7D2396 #962376
triadic
#7D2396 #967D23 #23967D
tetradic
#7D2396 #964423 #3C9623 #237696
square
#7D2396 #964423 #3C9623 #237696
split-complementary
#7D2396 #769623 #239644
monochromatic
#2A0C33 #541764 #7D2396 #A62FC8 #BD5BD9

Accessibility & contrast

On white

8.23
#7D2396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7D2396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2396
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2396#FFFFFF#000000##FFFFFF
##7D23961.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#275193
Tritanopia (blue-blind)
#7C3C5B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d2396;
/* rgb */ color: rgb(125, 35, 150);
/* oklch */ color: oklch(45.1% 0.185 317.7);
Tailwind
colors: {
  custom: {
    50: '#a668b5',
    500: '#7d2396',
    950: '#000000',
  },
}
SCSS
$custom: #7d2396;
$custom-light: #a668b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2396",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 286.957,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4507,
    "c": 0.18478,
    "h": 317.7
  },
  "luminance": 0.07764
}

Semantic roles & 50–950 ramp

primary
#7D2396
secondary
#6EBD58
accent
#E54366
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2396

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

Preview Lab → · Contrast checker → · Palette generator →

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