#7A2085#7A2085

#7A2085 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.172 H 323.1°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#7A2085
RGBrgb(122, 32, 133)
HSLhsl(293, 61%, 32%)
HSVhsv(293, 76%, 52%)
CMYKcmyk(8.3%, 75.9%, 0%, 47.8%)
CIE-LABlab(31.50, 51.40, -36.94)
CIE-LCHlch(31.50, 63.29, 324.30°)
OKLaboklab(43.2% 0.1375 -0.1031)
OKLCHoklch(43.2% 0.172 323.1)
XYZxyz(12.7758, 6.8648, 22.8379)
Luminance0.0686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2085 #2B8520
analogous
#472085 #7A2085 #85205E
triadic
#7A2085 #857A20 #20857A
tetradic
#7A2085 #854720 #2B8520 #205E85
square
#7A2085 #854720 #2B8520 #205E85
split-complementary
#7A2085 #5E8520 #208547
monochromatic
#1F0822 #4D1454 #7A2085 #A72CB6 #C54CD4

Accessibility & contrast

On white

8.85
#7A2085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7A2085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2085
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2085#FFFFFF#000000##FFFFFF
##7A20851.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#314E83
Tritanopia (blue-blind)
#7C3351
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a2085;
/* rgb */ color: rgb(122, 32, 133);
/* oklch */ color: oklch(43.2% 0.172 323.1);
Tailwind
colors: {
  custom: {
    50: '#a466a9',
    500: '#7a2085',
    950: '#000000',
  },
}
SCSS
$custom: #7a2085;
$custom-light: #a466a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2085",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 293.465,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43199,
    "c": 0.17186,
    "h": 323.1
  },
  "luminance": 0.06864
}

Semantic roles & 50–950 ramp

primary
#7A2085
secondary
#56B74A
accent
#E44355
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A2085

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

Preview Lab → · Contrast checker → · Palette generator →

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