#7A2785#7A2785

#7A2785 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.9% C 0.163 H 322.8°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#7A2785
RGBrgb(122, 39, 133)
HSLhsl(293, 55%, 34%)
HSVhsv(293, 71%, 52%)
CMYKcmyk(8.3%, 70.7%, 0%, 47.8%)
CIE-LABlab(32.44, 48.71, -35.43)
CIE-LCHlch(32.44, 60.23, 323.97°)
OKLaboklab(43.88% 0.1302 -0.0988)
OKLCHoklch(43.88% 0.163 322.8)
XYZxyz(12.9848, 7.2828, 22.9075)
Luminance0.0728 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2785 #328527
analogous
#4B2785 #7A2785 #852761
triadic
#7A2785 #857A27 #27857A
tetradic
#7A2785 #854B27 #328527 #276185
square
#7A2785 #854B27 #328527 #276185
split-complementary
#7A2785 #618527 #27854B
monochromatic
#230B26 #4F1956 #7A2785 #A535B4 #C058CE

Accessibility & contrast

On white

8.55
#7A2785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7A2785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2785
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2785#FFFFFF#000000##FFFFFF
##7A27851.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4688
Deuteranopia (green-blind)
#355083
Tritanopia (blue-blind)
#7C3753
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a2785;
/* rgb */ color: rgb(122, 39, 133);
/* oklch */ color: oklch(43.9% 0.163 322.8);
Tailwind
colors: {
  custom: {
    50: '#a369a9',
    500: '#7a2785',
    950: '#000000',
  },
}
SCSS
$custom: #7a2785;
$custom-light: #a369a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2785",
  "rgb": {
    "r": 122,
    "g": 39,
    "b": 133
  },
  "hsl": {
    "h": 292.979,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43875,
    "c": 0.1634,
    "h": 322.8
  },
  "luminance": 0.07282
}

Semantic roles & 50–950 ramp

primary
#7A2785
secondary
#60B355
accent
#DE4A5B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #7A2785

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

Preview Lab → · Contrast checker → · Palette generator →

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