#7A188D#7A188D

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

Color values

HEX#7A188D
RGBrgb(122, 24, 141)
HSLhsl(290, 71%, 32%)
HSVhsv(290, 83%, 55%)
CMYKcmyk(13.5%, 83%, 0%, 44.7%)
CIE-LABlab(31.15, 55.44, -42.47)
CIE-LCHlch(31.15, 69.84, 322.55°)
OKLaboklab(43.12% 0.1434 -0.1193)
OKLCHoklch(43.12% 0.187 320.3)
XYZxyz(13.1598, 6.7146, 25.7970)
Luminance0.0671 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A188D #2B8D18
analogous
#3F188D #7A188D #8D1866
triadic
#7A188D #8D7A18 #188D7A
tetradic
#7A188D #8D3F18 #2B8D18 #18668D
square
#7A188D #8D3F18 #2B8D18 #18668D
split-complementary
#7A188D #668D18 #188D3F
monochromatic
#1F0624 #4D0F59 #7A188D #A721C1 #C541DF

Accessibility & contrast

On white

8.96
#7A188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7A188D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A188D
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A188D#FFFFFF#000000##FFFFFF
##7A188D1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#254D8A
Tritanopia (blue-blind)
#7A3354
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a188d;
/* rgb */ color: rgb(122, 24, 141);
/* oklch */ color: oklch(43.1% 0.187 320.3);
Tailwind
colors: {
  custom: {
    50: '#a463af',
    500: '#7a188d',
    950: '#000000',
  },
}
SCSS
$custom: #7a188d;
$custom-light: #a463af;
$custom-dark: #000000;
JSON
{
  "hex": "#7a188d",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 290.256,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43123,
    "c": 0.18653,
    "h": 320.3
  },
  "luminance": 0.06714
}

Semantic roles & 50–950 ramp

primary
#7A188D
secondary
#56BF42
accent
#EE3A57
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A188D

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

Preview Lab → · Contrast checker → · Palette generator →

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