#7D2691#7D2691

#7D2691 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.0% C 0.177 H 319.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#7D2691
RGBrgb(125, 38, 145)
HSLhsl(289, 58%, 36%)
HSVhsv(289, 74%, 57%)
CMYKcmyk(13.8%, 73.8%, 0%, 43.1%)
CIE-LABlab(33.54, 52.13, -41.05)
CIE-LCHlch(33.54, 66.36, 321.78°)
OKLaboklab(45% 0.1343 -0.1151)
OKLCHoklch(45% 0.177 319.4)
XYZxyz(14.2607, 7.7912, 27.5353)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2691 #3A9126
analogous
#472691 #7D2691 #91266F
triadic
#7D2691 #917D26 #26917D
tetradic
#7D2691 #914726 #3A9126 #266F91
square
#7D2691 #914726 #3A9126 #266F91
split-complementary
#7D2691 #6F9126 #269147
monochromatic
#290D30 #531961 #7D2691 #A733C1 #BE5DD5

Accessibility & contrast

On white

8.21
#7D2691 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2691
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2691#FFFFFF#000000##FFFFFF
##7D26911.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#2E528F
Tritanopia (blue-blind)
#7D3B59
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d2691;
/* rgb */ color: rgb(125, 38, 145);
/* oklch */ color: oklch(45.0% 0.177 319.4);
Tailwind
colors: {
  custom: {
    50: '#a669b2',
    500: '#7d2691',
    950: '#000000',
  },
}
SCSS
$custom: #7d2691;
$custom-light: #a669b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2691",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 145
  },
  "hsl": {
    "h": 288.785,
    "s": 58.47,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45003,
    "c": 0.17689,
    "h": 319.4
  },
  "luminance": 0.07791
}

Semantic roles & 50–950 ramp

primary
#7D2691
secondary
#6BBA59
accent
#E24663
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2691

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

Preview Lab → · Contrast checker → · Palette generator →

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