#7D2B91#7D2B91

#7D2B91 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.5% C 0.171 H 319.1°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#7D2B91
RGBrgb(125, 43, 145)
HSLhsl(288, 54%, 37%)
HSVhsv(288, 70%, 57%)
CMYKcmyk(13.8%, 70.3%, 0%, 43.1%)
CIE-LABlab(34.26, 50.12, -39.91)
CIE-LCHlch(34.26, 64.07, 321.47°)
OKLaboklab(45.51% 0.129 -0.1118)
OKLCHoklch(45.51% 0.171 319.1)
XYZxyz(14.4315, 8.1327, 27.5922)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2B91 #3F912B
analogous
#4A2B91 #7D2B91 #912B72
triadic
#7D2B91 #917D2B #2B917D
tetradic
#7D2B91 #914A2B #3F912B #2B7291
square
#7D2B91 #914A2B #3F912B #2B7291
split-complementary
#7D2B91 #72912B #2B914A
monochromatic
#2C0F33 #541D62 #7D2B91 #A639C0 #BC65D1

Accessibility & contrast

On white

8.00
#7D2B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7D2B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2B91
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2B91#FFFFFF#000000##FFFFFF
##7D2B911.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B94
Deuteranopia (green-blind)
#32538F
Tritanopia (blue-blind)
#7D3E5B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d2b91;
/* rgb */ color: rgb(125, 43, 145);
/* oklch */ color: oklch(45.5% 0.171 319.1);
Tailwind
colors: {
  custom: {
    50: '#a66cb2',
    500: '#7d2b91',
    950: '#000000',
  },
}
SCSS
$custom: #7d2b91;
$custom-light: #a66cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2b91",
  "rgb": {
    "r": 125,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 288.235,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45513,
    "c": 0.17069,
    "h": 319.1
  },
  "luminance": 0.08132
}

Semantic roles & 50–950 ramp

primary
#7D2B91
secondary
#71B860
accent
#DE4A67
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2B91

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

Preview Lab → · Contrast checker → · Palette generator →

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