#7B2284#7B2284

#7B2284 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.169 H 323.9°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#7B2284
RGBrgb(123, 34, 132)
HSLhsl(294, 59%, 33%)
HSVhsv(294, 74%, 52%)
CMYKcmyk(6.8%, 74.2%, 0%, 48.2%)
CIE-LABlab(31.86, 50.71, -35.73)
CIE-LCHlch(31.86, 62.03, 324.83°)
OKLaboklab(43.47% 0.1367 -0.0996)
OKLCHoklch(43.47% 0.169 323.9)
XYZxyz(12.9049, 7.0217, 22.5009)
Luminance0.0702 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2284 #2B8422
analogous
#4A2284 #7B2284 #84225C
triadic
#7B2284 #847B22 #22847B
tetradic
#7B2284 #844A22 #2B8422 #225C84
square
#7B2284 #844A22 #2B8422 #225C84
split-complementary
#7B2284 #5C8422 #22844A
monochromatic
#200923 #4E1553 #7B2284 #A82FB5 #C64FD2

Accessibility & contrast

On white

8.73
#7B2284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7B2284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2284
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2284#FFFFFF#000000##FFFFFF
##7B22841.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004487
Deuteranopia (green-blind)
#344E82
Tritanopia (blue-blind)
#7D3351
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b2284;
/* rgb */ color: rgb(123, 34, 132);
/* oklch */ color: oklch(43.5% 0.169 323.9);
Tailwind
colors: {
  custom: {
    50: '#a467a8',
    500: '#7b2284',
    950: '#000000',
  },
}
SCSS
$custom: #7b2284;
$custom-light: #a467a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2284",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 294.49,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43468,
    "c": 0.16917,
    "h": 323.9
  },
  "luminance": 0.07021
}

Semantic roles & 50–950 ramp

primary
#7B2284
secondary
#56B54D
accent
#E24654
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B2284

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

Preview Lab → · Contrast checker → · Palette generator →

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