#7A1885#7A1885

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

Color values

HEX#7A1885
RGBrgb(122, 24, 133)
HSLhsl(294, 69%, 31%)
HSVhsv(294, 82%, 52%)
CMYKcmyk(8.3%, 82%, 0%, 47.8%)
CIE-LABlab(30.60, 53.97, -38.37)
CIE-LCHlch(30.60, 66.22, 324.59°)
OKLaboklab(42.57% 0.1445 -0.1073)
OKLCHoklch(42.57% 0.18 323.4)
XYZxyz(12.5859, 6.4851, 22.7746)
Luminance0.0648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1885 #238518
analogous
#431885 #7A1885 #851859
triadic
#7A1885 #857A18 #18857A
tetradic
#7A1885 #854318 #238518 #185985
square
#7A1885 #854318 #238518 #185985
split-complementary
#7A1885 #598518 #188543
monochromatic
#1B051D #4A0F51 #7A1885 #AA21B9 #CC3CDC

Accessibility & contrast

On white

9.14
#7A1885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7A1885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1885
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1885#FFFFFF#000000##FFFFFF
##7A18851.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1885;
/* rgb */ color: rgb(122, 24, 133);
/* oklch */ color: oklch(42.6% 0.180 323.4);
Tailwind
colors: {
  custom: {
    50: '#a463a9',
    500: '#7a1885',
    950: '#000000',
  },
}
SCSS
$custom: #7a1885;
$custom-light: #a463a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1885",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 293.945,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42566,
    "c": 0.17993,
    "h": 323.4
  },
  "luminance": 0.06484
}

Semantic roles & 50–950 ramp

primary
#7A1885
secondary
#4CB940
accent
#EC3C4D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A1885

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

Preview Lab → · Contrast checker → · Palette generator →

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