#7D2697#7D2697

#7D2697 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.4% C 0.182 H 317.2°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#7D2697
RGBrgb(125, 38, 151)
HSLhsl(286, 60%, 37%)
HSVhsv(286, 75%, 59%)
CMYKcmyk(17.2%, 74.8%, 0%, 40.8%)
CIE-LABlab(33.94, 53.33, -44.08)
CIE-LCHlch(33.94, 69.19, 320.42°)
OKLaboklab(45.42% 0.1337 -0.124)
OKLCHoklch(45.42% 0.182 317.2)
XYZxyz(14.7357, 7.9812, 30.0365)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2697 #409726
analogous
#452697 #7D2697 #972678
triadic
#7D2697 #977D26 #26977D
tetradic
#7D2697 #974526 #409726 #267897
square
#7D2697 #974526 #409726 #267897
split-complementary
#7D2697 #789726 #269745
monochromatic
#2C0D35 #551A66 #7D2697 #A532C8 #BC60D7

Accessibility & contrast

On white

8.09
#7D2697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7D2697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2697
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2697#FFFFFF#000000##FFFFFF
##7D26971.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#285294
Tritanopia (blue-blind)
#7C3E5D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d2697;
/* rgb */ color: rgb(125, 38, 151);
/* oklch */ color: oklch(45.4% 0.182 317.2);
Tailwind
colors: {
  custom: {
    50: '#a66ab6',
    500: '#7d2697',
    950: '#000000',
  },
}
SCSS
$custom: #7d2697;
$custom-light: #a66ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2697",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 286.195,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45415,
    "c": 0.18235,
    "h": 317.2
  },
  "luminance": 0.07981
}

Semantic roles & 50–950 ramp

primary
#7D2697
secondary
#73BC5C
accent
#E34569
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2697

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

Preview Lab → · Contrast checker → · Palette generator →

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