#76198F#76198F

#76198F is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.7% C 0.186 H 317.7°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#76198F
RGBrgb(118, 25, 143)
HSLhsl(287, 70%, 33%)
HSVhsv(287, 83%, 56%)
CMYKcmyk(17.5%, 82.5%, 0%, 43.9%)
CIE-LABlab(30.71, 54.78, -44.44)
CIE-LCHlch(30.71, 70.53, 320.95°)
OKLaboklab(42.73% 0.1374 -0.1252)
OKLCHoklch(42.73% 0.186 317.7)
XYZxyz(12.7761, 6.5306, 26.5688)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76198F #328F19
analogous
#3B198F #76198F #8F196D
triadic
#76198F #8F7619 #198F76
tetradic
#76198F #8F3B19 #328F19 #196D8F
square
#76198F #8F3B19 #328F19 #196D8F
split-complementary
#76198F #6D8F19 #198F3B
monochromatic
#200727 #4B105B #76198F #A122C3 #BE44DE

Accessibility & contrast

On white

9.11
#76198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#76198F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76198F
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76198F#FFFFFF#000000##FFFFFF
##76198F1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#1D4B8D
Tritanopia (blue-blind)
#753555
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #76198f;
/* rgb */ color: rgb(118, 25, 143);
/* oklch */ color: oklch(42.7% 0.186 317.7);
Tailwind
colors: {
  custom: {
    50: '#a263b0',
    500: '#76198f',
    950: '#000000',
  },
}
SCSS
$custom: #76198f;
$custom-light: #a263b0;
$custom-dark: #000000;
JSON
{
  "hex": "#76198f",
  "rgb": {
    "r": 118,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 287.288,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4273,
    "c": 0.18584,
    "h": 317.7
  },
  "luminance": 0.0653
}

Semantic roles & 50–950 ramp

primary
#76198F
secondary
#5EBF44
accent
#ED3B61
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #76198F

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

Preview Lab → · Contrast checker → · Palette generator →

#76198F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva