#7D2E91#7D2E91

#7D2E91 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.8% C 0.167 H 318.9°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#7D2E91
RGBrgb(125, 46, 145)
HSLhsl(288, 52%, 37%)
HSVhsv(288, 68%, 57%)
CMYKcmyk(13.8%, 68.3%, 0%, 43.1%)
CIE-LABlab(34.72, 48.82, -39.17)
CIE-LCHlch(34.72, 62.59, 321.26°)
OKLaboklab(45.84% 0.1256 -0.1097)
OKLCHoklch(45.84% 0.167 318.9)
XYZxyz(14.5446, 8.3590, 27.6299)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2E91 #42912E
analogous
#4C2E91 #7D2E91 #912E73
triadic
#7D2E91 #917D2E #2E917D
tetradic
#7D2E91 #914C2E #42912E #2E7391
square
#7D2E91 #914C2E #42912E #2E7391
split-complementary
#7D2E91 #73912E #2E914C
monochromatic
#2D1134 #551F63 #7D2E91 #A53DBF #BB6AD0

Accessibility & contrast

On white

7.86
#7D2E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7D2E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2E91
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2E91#FFFFFF#000000##FFFFFF
##7D2E911.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074C94
Deuteranopia (green-blind)
#34548F
Tritanopia (blue-blind)
#7D405C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d2e91;
/* rgb */ color: rgb(125, 46, 145);
/* oklch */ color: oklch(45.8% 0.167 318.9);
Tailwind
colors: {
  custom: {
    50: '#a66db2',
    500: '#7d2e91',
    950: '#000000',
  },
}
SCSS
$custom: #7d2e91;
$custom-light: #a66db2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2e91",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 287.879,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45844,
    "c": 0.16672,
    "h": 318.9
  },
  "luminance": 0.08358
}

Semantic roles & 50–950 ramp

primary
#7D2E91
secondary
#75B764
accent
#DB4D69
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2E91

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

Preview Lab → · Contrast checker → · Palette generator →

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