#7A1985#7A1985

#7A1985 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.6% C 0.179 H 323.4°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#7A1985
RGBrgb(122, 25, 133)
HSLhsl(294, 68%, 31%)
HSVhsv(294, 81%, 52%)
CMYKcmyk(8.3%, 81.2%, 0%, 47.8%)
CIE-LABlab(30.71, 53.68, -38.21)
CIE-LCHlch(30.71, 65.89, 324.56°)
OKLaboklab(42.64% 0.1437 -0.1068)
OKLCHoklch(42.64% 0.179 323.4)
XYZxyz(12.6069, 6.5271, 22.7816)
Luminance0.0653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1985 #248519
analogous
#441985 #7A1985 #85195A
triadic
#7A1985 #857A19 #19857A
tetradic
#7A1985 #854419 #248519 #195A85
square
#7A1985 #854419 #248519 #195A85
split-complementary
#7A1985 #5A8519 #198544
monochromatic
#1B061E #4B0F51 #7A1985 #A923B9 #CB3EDB

Accessibility & contrast

On white

9.11
#7A1985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7A1985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1985
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1985#FFFFFF#000000##FFFFFF
##7A19851.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#2D4C83
Tritanopia (blue-blind)
#7C2F4F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7a1985;
/* rgb */ color: rgb(122, 25, 133);
/* oklch */ color: oklch(42.6% 0.179 323.4);
Tailwind
colors: {
  custom: {
    50: '#a463a9',
    500: '#7a1985',
    950: '#000000',
  },
}
SCSS
$custom: #7a1985;
$custom-light: #a463a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1985",
  "rgb": {
    "r": 122,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 293.889,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42637,
    "c": 0.17902,
    "h": 323.4
  },
  "luminance": 0.06526
}

Semantic roles & 50–950 ramp

primary
#7A1985
secondary
#4DB941
accent
#EB3D4E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A1985

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

Preview Lab → · Contrast checker → · Palette generator →

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