#7B2F84#7B2F84

#7B2F84 is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.9% C 0.152 H 323.3°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#7B2F84
RGBrgb(123, 47, 132)
HSLhsl(294, 47%, 35%)
HSVhsv(294, 64%, 52%)
CMYKcmyk(6.8%, 64.4%, 0%, 48.2%)
CIE-LABlab(33.80, 45.26, -32.65)
CIE-LCHlch(33.80, 55.81, 324.20°)
OKLaboklab(44.86% 0.1218 -0.0907)
OKLCHoklch(44.86% 0.152 323.3)
XYZxyz(13.3494, 7.9107, 22.6491)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2F84 #38842F
analogous
#502F84 #7B2F84 #842F62
triadic
#7B2F84 #847B2F #2F847B
tetradic
#7B2F84 #84502F #38842F #2F6284
square
#7B2F84 #84502F #38842F #2F6284
split-complementary
#7B2F84 #62842F #2F8450
monochromatic
#270F2A #511F57 #7B2F84 #A53FB1 #BE65C8

Accessibility & contrast

On white

8.13
#7B2F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7B2F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2F84
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2F84#FFFFFF#000000##FFFFFF
##7B2F841.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4A87
Deuteranopia (green-blind)
#3C5382
Tritanopia (blue-blind)
#7D3C55
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7b2f84;
/* rgb */ color: rgb(123, 47, 132);
/* oklch */ color: oklch(44.9% 0.152 323.3);
Tailwind
colors: {
  custom: {
    50: '#a46da8',
    500: '#7b2f84',
    950: '#000000',
  },
}
SCSS
$custom: #7b2f84;
$custom-light: #a46da8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2f84",
  "rgb": {
    "r": 123,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 293.647,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44864,
    "c": 0.15188,
    "h": 323.3
  },
  "luminance": 0.0791
}

Semantic roles & 50–950 ramp

primary
#7B2F84
secondary
#68AF60
accent
#D7515F
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #7B2F84

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

Preview Lab → · Contrast checker → · Palette generator →

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