#7B2D76#7B2D76

#7B2D76 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.8% C 0.142 H 330.3°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#7B2D76
RGBrgb(123, 45, 118)
HSLhsl(304, 46%, 33%)
HSVhsv(304, 63%, 48%)
CMYKcmyk(0%, 63.4%, 4.1%, 51.8%)
CIE-LABlab(32.69, 43.55, -25.63)
CIE-LCHlch(32.69, 50.53, 329.52°)
OKLaboklab(43.81% 0.1234 -0.0704)
OKLCHoklch(43.81% 0.142 330.3)
XYZxyz(12.3767, 7.3966, 17.9118)
Luminance0.0740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2D76 #2D7B32
analogous
#592D7B #7B2D76 #7B2D4F
triadic
#7B2D76 #767B2D #2D767B
tetradic
#7B2D76 #7B592D #2D7B32 #2D4F7B
square
#7B2D76 #7B592D #2D7B32 #2D4F7B
split-complementary
#7B2D76 #4F7B2D #2D7B59
monochromatic
#210C20 #4E1D4B #7B2D76 #A83DA1 #C45EBE

Accessibility & contrast

On white

8.47
#7B2D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7B2D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2D76
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2D76#FFFFFF#000000##FFFFFF
##7B2D761.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274678
Deuteranopia (green-blind)
#425174
Tritanopia (blue-blind)
#80354D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b2d76;
/* rgb */ color: rgb(123, 45, 118);
/* oklch */ color: oklch(43.8% 0.142 330.3);
Tailwind
colors: {
  custom: {
    50: '#a46c9e',
    500: '#7b2d76',
    950: '#000000',
  },
}
SCSS
$custom: #7b2d76;
$custom-light: #a46c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2d76",
  "rgb": {
    "r": 123,
    "g": 45,
    "b": 118
  },
  "hsl": {
    "h": 303.846,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43814,
    "c": 0.14204,
    "h": 330.3
  },
  "luminance": 0.07396
}

Semantic roles & 50–950 ramp

primary
#7B2D76
secondary
#59AB5E
accent
#D65A52
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7B2D76

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

Preview Lab → · Contrast checker → · Palette generator →

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