#7A188F#7A188F

#7A188F is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.3% C 0.188 H 319.5°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#7A188F
RGBrgb(122, 24, 143)
HSLhsl(289, 71%, 33%)
HSVhsv(289, 83%, 56%)
CMYKcmyk(14.7%, 83.2%, 0%, 43.9%)
CIE-LABlab(31.29, 55.82, -43.48)
CIE-LCHlch(31.29, 70.75, 322.09°)
OKLaboklab(43.27% 0.1431 -0.1222)
OKLCHoklch(43.27% 0.188 319.5)
XYZxyz(13.3100, 6.7747, 26.5878)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A188F #2D8F18
analogous
#3F188F #7A188F #8F1868
triadic
#7A188F #8F7A18 #188F7A
tetradic
#7A188F #8F3F18 #2D8F18 #18688F
square
#7A188F #8F3F18 #2D8F18 #18688F
split-complementary
#7A188F #688F18 #188F3F
monochromatic
#210626 #4D0F5B #7A188F #A721C3 #C442DF

Accessibility & contrast

On white

8.92
#7A188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A188F
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A188F#FFFFFF#000000##FFFFFF
##7A188F1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#234D8C
Tritanopia (blue-blind)
#7A3455
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a188f;
/* rgb */ color: rgb(122, 24, 143);
/* oklch */ color: oklch(43.3% 0.188 319.5);
Tailwind
colors: {
  custom: {
    50: '#a463b0',
    500: '#7a188f',
    950: '#000000',
  },
}
SCSS
$custom: #7a188f;
$custom-light: #a463b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a188f",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 289.412,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43266,
    "c": 0.1882,
    "h": 319.5
  },
  "luminance": 0.06774
}

Semantic roles & 50–950 ramp

primary
#7A188F
secondary
#59C043
accent
#EE3A5A
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A188F

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

Preview Lab → · Contrast checker → · Palette generator →

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