#7D2496#7D2496

#7D2496 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.184 H 317.6°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#7D2496
RGBrgb(125, 36, 150)
HSLhsl(287, 61%, 36%)
HSVhsv(287, 76%, 59%)
CMYKcmyk(16.7%, 76%, 0%, 41.2%)
CIE-LABlab(33.61, 53.88, -44.00)
CIE-LCHlch(33.61, 69.56, 320.76°)
OKLaboklab(45.16% 0.1358 -0.1237)
OKLCHoklch(45.16% 0.184 317.6)
XYZxyz(14.5926, 7.8244, 29.5898)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2496 #3D9624
analogous
#442496 #7D2496 #962476
triadic
#7D2496 #967D24 #24967D
tetradic
#7D2496 #964424 #3D9624 #247696
square
#7D2496 #964424 #3D9624 #247696
split-complementary
#7D2496 #769624 #249644
monochromatic
#2B0C33 #541865 #7D2496 #A630C7 #BD5CD8

Accessibility & contrast

On white

8.19
#7D2496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7D2496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2496
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2496#FFFFFF#000000##FFFFFF
##7D24961.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#285293
Tritanopia (blue-blind)
#7C3C5C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d2496;
/* rgb */ color: rgb(125, 36, 150);
/* oklch */ color: oklch(45.2% 0.184 317.6);
Tailwind
colors: {
  custom: {
    50: '#a669b5',
    500: '#7d2496',
    950: '#000000',
  },
}
SCSS
$custom: #7d2496;
$custom-light: #a669b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2496",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 286.842,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4516,
    "c": 0.18369,
    "h": 317.6
  },
  "luminance": 0.07824
}

Semantic roles & 50–950 ramp

primary
#7D2496
secondary
#6FBD59
accent
#E44367
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2496

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

Preview Lab → · Contrast checker → · Palette generator →

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