#7A2884#7A2884

#7A2884 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.9% C 0.161 H 323.2°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#7A2884
RGBrgb(122, 40, 132)
HSLhsl(293, 53%, 34%)
HSVhsv(293, 70%, 52%)
CMYKcmyk(7.6%, 69.7%, 0%, 48.2%)
CIE-LABlab(32.53, 48.11, -34.67)
CIE-LCHlch(32.53, 59.30, 324.22°)
OKLaboklab(43.92% 0.129 -0.0966)
OKLCHoklch(43.92% 0.161 323.2)
XYZxyz(12.9493, 7.3218, 22.5565)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2884 #328428
analogous
#4C2884 #7A2884 #842860
triadic
#7A2884 #847A28 #28847A
tetradic
#7A2884 #844C28 #328428 #286084
square
#7A2884 #844C28 #328428 #286084
split-complementary
#7A2884 #608428 #28844C
monochromatic
#230C26 #4F1A55 #7A2884 #A536B3 #C05ACD

Accessibility & contrast

On white

8.52
#7A2884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7A2884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2884
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2884#FFFFFF#000000##FFFFFF
##7A28841.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4687
Deuteranopia (green-blind)
#365082
Tritanopia (blue-blind)
#7C3753
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a2884;
/* rgb */ color: rgb(122, 40, 132);
/* oklch */ color: oklch(43.9% 0.161 323.2);
Tailwind
colors: {
  custom: {
    50: '#a369a8',
    500: '#7a2884',
    950: '#000000',
  },
}
SCSS
$custom: #7a2884;
$custom-light: #a369a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2884",
  "rgb": {
    "r": 122,
    "g": 40,
    "b": 132
  },
  "hsl": {
    "h": 293.478,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43917,
    "c": 0.16118,
    "h": 323.2
  },
  "luminance": 0.07321
}

Semantic roles & 50–950 ramp

primary
#7A2884
secondary
#60B256
accent
#DD4B5B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #7A2884

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

Preview Lab → · Contrast checker → · Palette generator →

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