#7B2E84#7B2E84

#7B2E84 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.7% C 0.153 H 323.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#7B2E84
RGBrgb(123, 46, 132)
HSLhsl(294, 48%, 35%)
HSVhsv(294, 65%, 52%)
CMYKcmyk(6.8%, 65.2%, 0%, 48.2%)
CIE-LABlab(33.63, 45.72, -32.91)
CIE-LCHlch(33.63, 56.34, 324.25°)
OKLaboklab(44.74% 0.1231 -0.0915)
OKLCHoklch(44.74% 0.153 323.4)
XYZxyz(13.3098, 7.8316, 22.6359)
Luminance0.0783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2E84 #37842E
analogous
#502E84 #7B2E84 #842E62
triadic
#7B2E84 #847B2E #2E847B
tetradic
#7B2E84 #84502E #37842E #2E6284
square
#7B2E84 #84502E #37842E #2E6284
split-complementary
#7B2E84 #62842E #2E8450
monochromatic
#260E29 #511E57 #7B2E84 #A53EB1 #BE64C9

Accessibility & contrast

On white

8.18
#7B2E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7B2E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2E84
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2E84#FFFFFF#000000##FFFFFF
##7B2E841.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4987
Deuteranopia (green-blind)
#3B5282
Tritanopia (blue-blind)
#7D3B55
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7b2e84;
/* rgb */ color: rgb(123, 46, 132);
/* oklch */ color: oklch(44.7% 0.153 323.4);
Tailwind
colors: {
  custom: {
    50: '#a46da8',
    500: '#7b2e84',
    950: '#000000',
  },
}
SCSS
$custom: #7b2e84;
$custom-light: #a46da8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2e84",
  "rgb": {
    "r": 123,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 293.721,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44744,
    "c": 0.15334,
    "h": 323.4
  },
  "luminance": 0.07831
}

Semantic roles & 50–950 ramp

primary
#7B2E84
secondary
#67B05E
accent
#D8505E
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #7B2E84

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

Preview Lab → · Contrast checker → · Palette generator →

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