#7D2696#7D2696

#7D2696 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.181 H 317.5°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#7D2696
RGBrgb(125, 38, 150)
HSLhsl(287, 60%, 37%)
HSVhsv(287, 75%, 59%)
CMYKcmyk(16.7%, 74.7%, 0%, 41.2%)
CIE-LABlab(33.88, 53.13, -43.58)
CIE-LCHlch(33.88, 68.72, 320.64°)
OKLaboklab(45.35% 0.1338 -0.1225)
OKLCHoklch(45.35% 0.181 317.5)
XYZxyz(14.6548, 7.9488, 29.6106)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2696 #3F9626
analogous
#452696 #7D2696 #962677
triadic
#7D2696 #967D26 #26967D
tetradic
#7D2696 #964526 #3F9626 #267796
square
#7D2696 #964526 #3F9626 #267796
split-complementary
#7D2696 #779626 #269645
monochromatic
#2C0D34 #541A65 #7D2696 #A632C7 #BC60D7

Accessibility & contrast

On white

8.11
#7D2696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7D2696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2696
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2696#FFFFFF#000000##FFFFFF
##7D26961.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#295293
Tritanopia (blue-blind)
#7C3D5C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d2696;
/* rgb */ color: rgb(125, 38, 150);
/* oklch */ color: oklch(45.3% 0.181 317.5);
Tailwind
colors: {
  custom: {
    50: '#a66ab5',
    500: '#7d2696',
    950: '#000000',
  },
}
SCSS
$custom: #7d2696;
$custom-light: #a66ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2696",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 150
  },
  "hsl": {
    "h": 286.607,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45345,
    "c": 0.18144,
    "h": 317.5
  },
  "luminance": 0.07948
}

Semantic roles & 50–950 ramp

primary
#7D2696
secondary
#71BC5C
accent
#E34568
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2696

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

Preview Lab → · Contrast checker → · Palette generator →

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