#7B198F#7B198F

#7B198F is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.5% C 0.188 H 319.9°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#7B198F
RGBrgb(123, 25, 143)
HSLhsl(290, 70%, 33%)
HSVhsv(290, 83%, 56%)
CMYKcmyk(14%, 82.5%, 0%, 43.9%)
CIE-LABlab(31.56, 55.72, -43.04)
CIE-LCHlch(31.56, 70.41, 322.32°)
OKLaboklab(43.49% 0.1436 -0.1209)
OKLCHoklch(43.49% 0.188 319.9)
XYZxyz(13.4733, 6.8901, 26.6015)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B198F #2D8F19
analogous
#40198F #7B198F #8F1968
triadic
#7B198F #8F7B19 #198F7B
tetradic
#7B198F #8F4019 #2D8F19 #19688F
square
#7B198F #8F4019 #2D8F19 #19688F
split-complementary
#7B198F #688F19 #198F40
monochromatic
#210727 #4E105B #7B198F #A822C3 #C444DE

Accessibility & contrast

On white

8.83
#7B198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7B198F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B198F
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B198F#FFFFFF#000000##FFFFFF
##7B198F1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#254D8C
Tritanopia (blue-blind)
#7B3455
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b198f;
/* rgb */ color: rgb(123, 25, 143);
/* oklch */ color: oklch(43.5% 0.188 319.9);
Tailwind
colors: {
  custom: {
    50: '#a564b0',
    500: '#7b198f',
    950: '#000000',
  },
}
SCSS
$custom: #7b198f;
$custom-light: #a564b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b198f",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 289.831,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43487,
    "c": 0.18773,
    "h": 319.9
  },
  "luminance": 0.06889
}

Semantic roles & 50–950 ramp

primary
#7B198F
secondary
#59BF44
accent
#ED3B59
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7B198F

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

Preview Lab → · Contrast checker → · Palette generator →

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