#7B199E#7B199E

#7B199E is a dark, highly saturated purple. Relative luminance 0.074; OKLCH L 44.6% C 0.200 H 314.6°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#7B199E
RGBrgb(123, 25, 158)
HSLhsl(284, 73%, 36%)
HSVhsv(284, 84%, 62%)
CMYKcmyk(22.2%, 84.2%, 0%, 38%)
CIE-LABlab(32.65, 58.62, -50.46)
CIE-LCHlch(32.65, 77.35, 319.28°)
OKLaboklab(44.6% 0.1407 -0.1427)
OKLCHoklch(44.6% 0.2 314.6)
XYZxyz(14.6865, 7.3754, 32.9911)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B199E #3C9E19
analogous
#39199E #7B199E #9E197E
triadic
#7B199E #9E7B19 #199E7B
tetradic
#7B199E #9E3919 #3C9E19 #197E9E
square
#7B199E #9E3919 #3C9E19 #197E9E
split-complementary
#7B199E #7E9E19 #199E39
monochromatic
#290834 #521169 #7B199E #A421D3 #BC4EE3

Accessibility & contrast

On white

8.48
#7B199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7B199E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B199E
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B199E#FFFFFF#000000##FFFFFF
##7B199E1.008.482.478.48
#FFFFFF8.481.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#0A4F9B
Tritanopia (blue-blind)
#783B5E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b199e;
/* rgb */ color: rgb(123, 25, 158);
/* oklch */ color: oklch(44.6% 0.200 314.6);
Tailwind
colors: {
  custom: {
    50: '#a665bb',
    500: '#7b199e',
    950: '#000000',
  },
}
SCSS
$custom: #7b199e;
$custom-light: #a665bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b199e",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 284.211,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44596,
    "c": 0.20042,
    "h": 314.6
  },
  "luminance": 0.07375
}

Semantic roles & 50–950 ramp

primary
#7B199E
secondary
#6DC54E
accent
#EF3869
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7B199E

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

Preview Lab → · Contrast checker → · Palette generator →

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