#762197#762197

#762197 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.185 H 314.3°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#762197
RGBrgb(118, 33, 151)
HSLhsl(283, 64%, 36%)
HSVhsv(283, 78%, 59%)
CMYKcmyk(21.9%, 78.1%, 0%, 40.8%)
CIE-LABlab(32.20, 53.76, -46.95)
CIE-LCHlch(32.20, 71.38, 318.87°)
OKLaboklab(43.96% 0.1293 -0.1326)
OKLCHoklch(43.96% 0.185 314.3)
XYZxyz(13.6000, 7.1741, 29.9405)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762197 #429721
analogous
#3B2197 #762197 #97217D
triadic
#762197 #977621 #219776
tetradic
#762197 #973B21 #429721 #217D97
square
#762197 #973B21 #429721 #217D97
split-complementary
#762197 #7D9721 #21973B
monochromatic
#280B33 #4F1665 #762197 #9D2CC9 #B658DA

Accessibility & contrast

On white

8.62
#762197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762197
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762197#FFFFFF#000000##FFFFFF
##7621971.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#184E95
Tritanopia (blue-blind)
#733C5B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #762197;
/* rgb */ color: rgb(118, 33, 151);
/* oklch */ color: oklch(44.0% 0.185 314.3);
Tailwind
colors: {
  custom: {
    50: '#a266b6',
    500: '#762197',
    950: '#000000',
  },
}
SCSS
$custom: #762197;
$custom-light: #a266b6;
$custom-dark: #000000;
JSON
{
  "hex": "#762197",
  "rgb": {
    "r": 118,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 283.22,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43959,
    "c": 0.18523,
    "h": 314.3
  },
  "luminance": 0.07174
}

Semantic roles & 50–950 ramp

primary
#762197
secondary
#73BE55
accent
#E7416F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #762197

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

Preview Lab → · Contrast checker → · Palette generator →

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