#7B199B#7B199B

#7B199B is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.4% C 0.198 H 315.6°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#7B199B
RGBrgb(123, 25, 155)
HSLhsl(285, 72%, 35%)
HSVhsv(285, 84%, 61%)
CMYKcmyk(20.6%, 83.9%, 0%, 39.2%)
CIE-LABlab(32.42, 58.03, -49.00)
CIE-LCHlch(32.42, 75.95, 319.82°)
OKLaboklab(44.37% 0.1414 -0.1384)
OKLCHoklch(44.37% 0.198 315.6)
XYZxyz(14.4314, 7.2734, 31.6477)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B199B #399B19
analogous
#3A199B #7B199B #9B197A
triadic
#7B199B #9B7B19 #199B7B
tetradic
#7B199B #9B3A19 #399B19 #197A9B
square
#7B199B #9B3A19 #399B19 #197A9B
split-complementary
#7B199B #7A9B19 #199B3A
monochromatic
#270832 #511166 #7B199B #A522D0 #BD4CE2

Accessibility & contrast

On white

8.56
#7B199B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7B199B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B199B
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B199B#FFFFFF#000000##FFFFFF
##7B199B1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#134F98
Tritanopia (blue-blind)
#783A5C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7b199b;
/* rgb */ color: rgb(123, 25, 155);
/* oklch */ color: oklch(44.4% 0.198 315.6);
Tailwind
colors: {
  custom: {
    50: '#a664b9',
    500: '#7b199b',
    950: '#000000',
  },
}
SCSS
$custom: #7b199b;
$custom-light: #a664b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b199b",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 155
  },
  "hsl": {
    "h": 285.231,
    "s": 72.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44368,
    "c": 0.19786,
    "h": 315.6
  },
  "luminance": 0.07273
}

Semantic roles & 50–950 ramp

primary
#7B199B
secondary
#69C44C
accent
#EF3966
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7B199B

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

Preview Lab → · Contrast checker → · Palette generator →

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