#7B2B84#7B2B84

#7B2B84 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.4% C 0.158 H 323.5°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#7B2B84
RGBrgb(123, 43, 132)
HSLhsl(294, 51%, 34%)
HSVhsv(294, 67%, 52%)
CMYKcmyk(6.8%, 67.4%, 0%, 48.2%)
CIE-LABlab(33.15, 47.07, -33.68)
CIE-LCHlch(33.15, 57.87, 324.42°)
OKLaboklab(44.4% 0.1268 -0.0937)
OKLCHoklch(44.4% 0.158 323.5)
XYZxyz(13.1967, 7.6054, 22.5982)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2B84 #34842B
analogous
#4F2B84 #7B2B84 #842B61
triadic
#7B2B84 #847B2B #2B847B
tetradic
#7B2B84 #844F2B #34842B #2B6184
square
#7B2B84 #844F2B #34842B #2B6184
split-complementary
#7B2B84 #61842B #2B844F
monochromatic
#250D28 #501C56 #7B2B84 #A63AB2 #C05FCB

Accessibility & contrast

On white

8.33
#7B2B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7B2B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2B84
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2B84#FFFFFF#000000##FFFFFF
##7B2B841.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174887
Deuteranopia (green-blind)
#395182
Tritanopia (blue-blind)
#7D3954
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7b2b84;
/* rgb */ color: rgb(123, 43, 132);
/* oklch */ color: oklch(44.4% 0.158 323.5);
Tailwind
colors: {
  custom: {
    50: '#a46ba8',
    500: '#7b2b84',
    950: '#000000',
  },
}
SCSS
$custom: #7b2b84;
$custom-light: #a46ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2b84",
  "rgb": {
    "r": 123,
    "g": 43,
    "b": 132
  },
  "hsl": {
    "h": 293.933,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44395,
    "c": 0.15761,
    "h": 323.5
  },
  "luminance": 0.07605
}

Semantic roles & 50–950 ramp

primary
#7B2B84
secondary
#63B15A
accent
#DA4D5C
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #7B2B84

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

Preview Lab → · Contrast checker → · Palette generator →

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