#7A188E#7A188E

#7A188E is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.2% C 0.187 H 319.9°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#7A188E
RGBrgb(122, 24, 142)
HSLhsl(290, 71%, 33%)
HSVhsv(290, 83%, 56%)
CMYKcmyk(14.1%, 83.1%, 0%, 44.3%)
CIE-LABlab(31.22, 55.63, -42.97)
CIE-LCHlch(31.22, 70.29, 322.31°)
OKLaboklab(43.19% 0.1433 -0.1207)
OKLCHoklch(43.19% 0.187 319.9)
XYZxyz(13.2345, 6.7445, 26.1907)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A188E #2C8E18
analogous
#3F188E #7A188E #8E1867
triadic
#7A188E #8E7A18 #188E7A
tetradic
#7A188E #8E3F18 #2C8E18 #18678E
square
#7A188E #8E3F18 #2C8E18 #18678E
split-complementary
#7A188E #678E18 #188E3F
monochromatic
#200625 #4D0F5A #7A188E #A721C2 #C441DF

Accessibility & contrast

On white

8.94
#7A188E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7A188E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A188E
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A188E#FFFFFF#000000##FFFFFF
##7A188E1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#244D8B
Tritanopia (blue-blind)
#7A3354
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a188e;
/* rgb */ color: rgb(122, 24, 142);
/* oklch */ color: oklch(43.2% 0.187 319.9);
Tailwind
colors: {
  custom: {
    50: '#a463b0',
    500: '#7a188e',
    950: '#000000',
  },
}
SCSS
$custom: #7a188e;
$custom-light: #a463b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a188e",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 142
  },
  "hsl": {
    "h": 289.831,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43194,
    "c": 0.18737,
    "h": 319.9
  },
  "luminance": 0.06744
}

Semantic roles & 50–950 ramp

primary
#7A188E
secondary
#57C042
accent
#EE3A58
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A188E

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

Preview Lab → · Contrast checker → · Palette generator →

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