#7A2E85#7A2E85

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

Color values

HEX#7A2E85
RGBrgb(122, 46, 133)
HSLhsl(292, 49%, 35%)
HSVhsv(292, 65%, 52%)
CMYKcmyk(8.3%, 65.4%, 0%, 47.8%)
CIE-LABlab(33.53, 45.66, -33.70)
CIE-LCHlch(33.53, 56.75, 323.58°)
OKLaboklab(44.66% 0.1219 -0.0938)
OKLCHoklch(44.66% 0.154 322.4)
XYZxyz(13.2362, 7.7857, 22.9914)
Luminance0.0779 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2E85 #39852E
analogous
#4F2E85 #7A2E85 #852E64
triadic
#7A2E85 #857A2E #2E857A
tetradic
#7A2E85 #854F2E #39852E #2E6485
square
#7A2E85 #854F2E #39852E #2E6485
split-complementary
#7A2E85 #64852E #2E854F
monochromatic
#270F2A #501E58 #7A2E85 #A43EB2 #BD64C9

Accessibility & contrast

On white

8.21
#7A2E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7A2E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2E85
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2E85#FFFFFF#000000##FFFFFF
##7A2E851.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4988
Deuteranopia (green-blind)
#395283
Tritanopia (blue-blind)
#7C3C55
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7a2e85;
/* rgb */ color: rgb(122, 46, 133);
/* oklch */ color: oklch(44.7% 0.154 322.4);
Tailwind
colors: {
  custom: {
    50: '#a36ca9',
    500: '#7a2e85',
    950: '#000000',
  },
}
SCSS
$custom: #7a2e85;
$custom-light: #a36ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2e85",
  "rgb": {
    "r": 122,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 292.414,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44661,
    "c": 0.15377,
    "h": 322.4
  },
  "luminance": 0.07785
}

Semantic roles & 50–950 ramp

primary
#7A2E85
secondary
#69B05F
accent
#D85061
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #7A2E85

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

Preview Lab → · Contrast checker → · Palette generator →

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