#762196#762196

#762196 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.9% C 0.184 H 314.6°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#762196
RGBrgb(118, 33, 150)
HSLhsl(284, 64%, 36%)
HSVhsv(284, 78%, 59%)
CMYKcmyk(21.3%, 78%, 0%, 41.2%)
CIE-LABlab(32.13, 53.55, -46.46)
CIE-LCHlch(32.13, 70.90, 319.06°)
OKLaboklab(43.89% 0.1295 -0.1312)
OKLCHoklch(43.89% 0.184 314.6)
XYZxyz(13.5192, 7.1418, 29.5146)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762196 #419621
analogous
#3C2196 #762196 #96217B
triadic
#762196 #967621 #219676
tetradic
#762196 #963C21 #419621 #217B96
square
#762196 #963C21 #419621 #217B96
split-complementary
#762196 #7B9621 #21963C
monochromatic
#270B32 #4F1664 #762196 #9D2CC8 #B657DA

Accessibility & contrast

On white

8.65
#762196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#762196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762196
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762196#FFFFFF#000000##FFFFFF
##7621961.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#1A4E94
Tritanopia (blue-blind)
#733C5B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #762196;
/* rgb */ color: rgb(118, 33, 150);
/* oklch */ color: oklch(43.9% 0.184 314.6);
Tailwind
colors: {
  custom: {
    50: '#a266b6',
    500: '#762196',
    950: '#000000',
  },
}
SCSS
$custom: #762196;
$custom-light: #a266b6;
$custom-dark: #000000;
JSON
{
  "hex": "#762196",
  "rgb": {
    "r": 118,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 283.59,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43885,
    "c": 0.18433,
    "h": 314.6
  },
  "luminance": 0.07141
}

Semantic roles & 50–950 ramp

primary
#762196
secondary
#72BE55
accent
#E7416E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #762196

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

Preview Lab → · Contrast checker → · Palette generator →

#762196 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva