#7A189F#7A189F

#7A189F is a dark, highly saturated purple. Relative luminance 0.073; OKLCH L 44.5% C 0.202 H 313.9°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#7A189F
RGBrgb(122, 24, 159)
HSLhsl(284, 74%, 36%)
HSVhsv(284, 85%, 62%)
CMYKcmyk(23.3%, 84.9%, 0%, 37.6%)
CIE-LABlab(32.47, 58.92, -51.36)
CIE-LCHlch(32.47, 78.16, 318.92°)
OKLaboklab(44.46% 0.1399 -0.1454)
OKLCHoklch(44.46% 0.202 313.9)
XYZxyz(14.6096, 7.2946, 33.4326)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A189F #3D9F18
analogous
#37189F #7A189F #9F1880
triadic
#7A189F #9F7A18 #189F7A
tetradic
#7A189F #9F3718 #3D9F18 #18809F
square
#7A189F #9F3718 #3D9F18 #18809F
split-complementary
#7A189F #809F18 #189F37
monochromatic
#280835 #51106A #7A189F #A320D4 #BB4DE4

Accessibility & contrast

On white

8.54
#7A189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A189F
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A189F#FFFFFF#000000##FFFFFF
##7A189F1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#014E9C
Tritanopia (blue-blind)
#763B5E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a189f;
/* rgb */ color: rgb(122, 24, 159);
/* oklch */ color: oklch(44.5% 0.202 313.9);
Tailwind
colors: {
  custom: {
    50: '#a564bc',
    500: '#7a189f',
    950: '#000000',
  },
}
SCSS
$custom: #7a189f;
$custom-light: #a564bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a189f",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 283.556,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44463,
    "c": 0.20173,
    "h": 313.9
  },
  "luminance": 0.07294
}

Semantic roles & 50–950 ramp

primary
#7A189F
secondary
#6EC64D
accent
#F0376A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7A189F

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

Preview Lab → · Contrast checker → · Palette generator →

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