#7B2884#7B2884

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

Color values

HEX#7B2884
RGBrgb(123, 40, 132)
HSLhsl(294, 53%, 34%)
HSVhsv(294, 70%, 52%)
CMYKcmyk(6.8%, 69.7%, 0%, 48.2%)
CIE-LABlab(32.69, 48.35, -34.40)
CIE-LCHlch(32.69, 59.34, 324.56°)
OKLaboklab(44.07% 0.1303 -0.0958)
OKLCHoklch(44.07% 0.162 323.7)
XYZxyz(13.0917, 7.3952, 22.5632)
Luminance0.0739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2884 #318428
analogous
#4D2884 #7B2884 #84285F
triadic
#7B2884 #847B28 #28847B
tetradic
#7B2884 #844D28 #318428 #285F84
square
#7B2884 #844D28 #318428 #285F84
split-complementary
#7B2884 #5F8428 #28844D
monochromatic
#230C26 #4F1A55 #7B2884 #A736B3 #C25ACD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B2884#FFFFFF#000000##FFFFFF
##7B28841.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)
#104787
Deuteranopia (green-blind)
#375082
Tritanopia (blue-blind)
#7D3753
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b2884;
/* rgb */ color: rgb(123, 40, 132);
/* oklch */ color: oklch(44.1% 0.162 323.7);
Tailwind
colors: {
  custom: {
    50: '#a469a8',
    500: '#7b2884',
    950: '#000000',
  },
}
SCSS
$custom: #7b2884;
$custom-light: #a469a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2884",
  "rgb": {
    "r": 123,
    "g": 40,
    "b": 132
  },
  "hsl": {
    "h": 294.13,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44066,
    "c": 0.16168,
    "h": 323.7
  },
  "luminance": 0.07394
}

Semantic roles & 50–950 ramp

primary
#7B2884
secondary
#5FB256
accent
#DD4B59
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7B2884

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

Preview Lab → · Contrast checker → · Palette generator →

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