#7D2B8F#7D2B8F

#7D2B8F is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.4% C 0.169 H 319.9°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#7D2B8F
RGBrgb(125, 43, 143)
HSLhsl(289, 54%, 36%)
HSVhsv(289, 70%, 56%)
CMYKcmyk(12.6%, 69.9%, 0%, 43.9%)
CIE-LABlab(34.13, 49.71, -38.89)
CIE-LCHlch(34.13, 63.12, 321.97°)
OKLaboklab(45.38% 0.1291 -0.1088)
OKLCHoklch(45.38% 0.169 319.9)
XYZxyz(14.2786, 8.0716, 26.7871)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2B8F #3D8F2B
analogous
#4B2B8F #7D2B8F #8F2B6F
triadic
#7D2B8F #8F7D2B #2B8F7D
tetradic
#7D2B8F #8F4B2B #3D8F2B #2B6F8F
square
#7D2B8F #8F4B2B #3D8F2B #2B6F8F
split-complementary
#7D2B8F #6F8F2B #2B8F4B
monochromatic
#2B0F31 #541D60 #7D2B8F #A639BE #BD64D0

Accessibility & contrast

On white

8.03
#7D2B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7D2B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2B8F
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2B8F#FFFFFF#000000##FFFFFF
##7D2B8F1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014B92
Deuteranopia (green-blind)
#33538D
Tritanopia (blue-blind)
#7D3D5A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d2b8f;
/* rgb */ color: rgb(125, 43, 143);
/* oklch */ color: oklch(45.4% 0.169 319.9);
Tailwind
colors: {
  custom: {
    50: '#a66cb0',
    500: '#7d2b8f',
    950: '#000000',
  },
}
SCSS
$custom: #7d2b8f;
$custom-light: #a66cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2b8f",
  "rgb": {
    "r": 125,
    "g": 43,
    "b": 143
  },
  "hsl": {
    "h": 289.2,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45382,
    "c": 0.16882,
    "h": 319.9
  },
  "luminance": 0.08071
}

Semantic roles & 50–950 ramp

primary
#7D2B8F
secondary
#6FB75F
accent
#DD4B65
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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