#7B2C84#7B2C84

#7B2C84 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.5% C 0.156 H 323.5°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#7B2C84
RGBrgb(123, 44, 132)
HSLhsl(294, 50%, 35%)
HSVhsv(294, 67%, 52%)
CMYKcmyk(6.8%, 66.7%, 0%, 48.2%)
CIE-LABlab(33.31, 46.63, -33.43)
CIE-LCHlch(33.31, 57.37, 324.36°)
OKLaboklab(44.51% 0.1255 -0.093)
OKLCHoklch(44.51% 0.156 323.5)
XYZxyz(13.2335, 7.6790, 22.6105)
Luminance0.0768 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2C84 #35842C
analogous
#4F2C84 #7B2C84 #842C61
triadic
#7B2C84 #847B2C #2C847B
tetradic
#7B2C84 #844F2C #35842C #2C6184
square
#7B2C84 #844F2C #35842C #2C6184
split-complementary
#7B2C84 #61842C #2C844F
monochromatic
#250D28 #501D56 #7B2C84 #A63BB2 #BF60CA

Accessibility & contrast

On white

8.28
#7B2C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7B2C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2C84
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2C84#FFFFFF#000000##FFFFFF
##7B2C841.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184887
Deuteranopia (green-blind)
#3A5282
Tritanopia (blue-blind)
#7D3A54
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7b2c84;
/* rgb */ color: rgb(123, 44, 132);
/* oklch */ color: oklch(44.5% 0.156 323.5);
Tailwind
colors: {
  custom: {
    50: '#a46ca8',
    500: '#7b2c84',
    950: '#000000',
  },
}
SCSS
$custom: #7b2c84;
$custom-light: #a46ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2c84",
  "rgb": {
    "r": 123,
    "g": 44,
    "b": 132
  },
  "hsl": {
    "h": 293.864,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44509,
    "c": 0.15621,
    "h": 323.5
  },
  "luminance": 0.07678
}

Semantic roles & 50–950 ramp

primary
#7B2C84
secondary
#64B05C
accent
#DA4E5D
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #7B2C84

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

Preview Lab → · Contrast checker → · Palette generator →

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