#7D2B83#7D2B83

#7D2B83 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.6% C 0.158 H 325.0°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#7D2B83
RGBrgb(125, 43, 131)
HSLhsl(296, 51%, 34%)
HSVhsv(296, 67%, 51%)
CMYKcmyk(4.6%, 67.2%, 0%, 48.6%)
CIE-LABlab(33.41, 47.38, -32.62)
CIE-LCHlch(33.41, 57.52, 325.45°)
OKLaboklab(44.63% 0.1292 -0.0905)
OKLCHoklch(44.63% 0.158 325)
XYZxyz(13.4177, 7.7272, 22.2531)
Luminance0.0773 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2B83 #31832B
analogous
#512B83 #7D2B83 #832B5D
triadic
#7D2B83 #837D2B #2B837D
tetradic
#7D2B83 #83512B #31832B #2B5D83
square
#7D2B83 #83512B #31832B #2B5D83
split-complementary
#7D2B83 #5D832B #2B8351
monochromatic
#250D27 #511C55 #7D2B83 #A93AB1 #C35ECA

Accessibility & contrast

On white

8.25
#7D2B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7D2B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2B83
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2B83#FFFFFF#000000##FFFFFF
##7D2B831.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4886
Deuteranopia (green-blind)
#3B5281
Tritanopia (blue-blind)
#803853
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d2b83;
/* rgb */ color: rgb(125, 43, 131);
/* oklch */ color: oklch(44.6% 0.158 325.0);
Tailwind
colors: {
  custom: {
    50: '#a56ba7',
    500: '#7d2b83',
    950: '#000000',
  },
}
SCSS
$custom: #7d2b83;
$custom-light: #a56ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2b83",
  "rgb": {
    "r": 125,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 295.909,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44628,
    "c": 0.15774,
    "h": 325
  },
  "luminance": 0.07726
}

Semantic roles & 50–950 ramp

primary
#7D2B83
secondary
#60B05A
accent
#DA4E57
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D2B83

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

Preview Lab → · Contrast checker → · Palette generator →

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