#7A2985#7A2985

#7A2985 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.1% C 0.161 H 322.7°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#7A2985
RGBrgb(122, 41, 133)
HSLhsl(293, 53%, 34%)
HSVhsv(293, 69%, 52%)
CMYKcmyk(8.3%, 69.2%, 0%, 47.8%)
CIE-LABlab(32.74, 47.88, -34.96)
CIE-LCHlch(32.74, 59.28, 323.87°)
OKLaboklab(44.09% 0.1279 -0.0974)
OKLCHoklch(44.09% 0.161 322.7)
XYZxyz(13.0522, 7.4176, 22.9300)
Luminance0.0742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2985 #348529
analogous
#4C2985 #7A2985 #852962
triadic
#7A2985 #857A29 #29857A
tetradic
#7A2985 #854C29 #348529 #296285
square
#7A2985 #854C29 #348529 #296285
split-complementary
#7A2985 #628529 #29854C
monochromatic
#240C27 #4F1B56 #7A2985 #A537B4 #BF5CCD

Accessibility & contrast

On white

8.46
#7A2985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7A2985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2985
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2985#FFFFFF#000000##FFFFFF
##7A29851.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4788
Deuteranopia (green-blind)
#365083
Tritanopia (blue-blind)
#7C3853
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a2985;
/* rgb */ color: rgb(122, 41, 133);
/* oklch */ color: oklch(44.1% 0.161 322.7);
Tailwind
colors: {
  custom: {
    50: '#a36aa9',
    500: '#7a2985',
    950: '#000000',
  },
}
SCSS
$custom: #7a2985;
$custom-light: #a36aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2985",
  "rgb": {
    "r": 122,
    "g": 41,
    "b": 133
  },
  "hsl": {
    "h": 292.826,
    "s": 52.874,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44088,
    "c": 0.16076,
    "h": 322.7
  },
  "luminance": 0.07417
}

Semantic roles & 50–950 ramp

primary
#7A2985
secondary
#63B258
accent
#DC4C5D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #7A2985

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

Preview Lab → · Contrast checker → · Palette generator →

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