#7B2D84#7B2D84

#7B2D84 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.6% C 0.155 H 323.4°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#7B2D84
RGBrgb(123, 45, 132)
HSLhsl(294, 49%, 35%)
HSVhsv(294, 66%, 52%)
CMYKcmyk(6.8%, 65.9%, 0%, 48.2%)
CIE-LABlab(33.47, 46.18, -33.17)
CIE-LCHlch(33.47, 56.86, 324.31°)
OKLaboklab(44.63% 0.1243 -0.0922)
OKLCHoklch(44.63% 0.155 323.4)
XYZxyz(13.2712, 7.7544, 22.6230)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2D84 #36842D
analogous
#502D84 #7B2D84 #842D62
triadic
#7B2D84 #847B2D #2D847B
tetradic
#7B2D84 #84502D #36842D #2D6284
square
#7B2D84 #84502D #36842D #2D6284
split-complementary
#7B2D84 #62842D #2D8450
monochromatic
#260E29 #501D56 #7B2D84 #A63DB2 #BF62C9

Accessibility & contrast

On white

8.23
#7B2D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2D84
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2D84#FFFFFF#000000##FFFFFF
##7B2D841.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4987
Deuteranopia (green-blind)
#3A5282
Tritanopia (blue-blind)
#7D3A54
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7b2d84;
/* rgb */ color: rgb(123, 45, 132);
/* oklch */ color: oklch(44.6% 0.155 323.4);
Tailwind
colors: {
  custom: {
    50: '#a46ca8',
    500: '#7b2d84',
    950: '#000000',
  },
}
SCSS
$custom: #7b2d84;
$custom-light: #a46ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2d84",
  "rgb": {
    "r": 123,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 293.793,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44625,
    "c": 0.15479,
    "h": 323.4
  },
  "luminance": 0.07754
}

Semantic roles & 50–950 ramp

primary
#7B2D84
secondary
#65B05D
accent
#D94F5D
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #7B2D84

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

Preview Lab → · Contrast checker → · Palette generator →

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