#762097#762097

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

Color values

HEX#762097
RGBrgb(118, 32, 151)
HSLhsl(283, 65%, 36%)
HSVhsv(283, 79%, 59%)
CMYKcmyk(21.9%, 78.8%, 0%, 40.8%)
CIE-LABlab(32.08, 54.11, -47.15)
CIE-LCHlch(32.08, 71.77, 318.93°)
OKLaboklab(43.87% 0.1302 -0.1332)
OKLCHoklch(43.87% 0.186 314.3)
XYZxyz(13.5727, 7.1194, 29.9314)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762097 #419720
analogous
#3A2097 #762097 #97207C
triadic
#762097 #977620 #209776
tetradic
#762097 #973A20 #419720 #207C97
square
#762097 #973A20 #419720 #207C97
split-complementary
#762097 #7C9720 #20973A
monochromatic
#270B32 #4F1564 #762097 #9D2BC9 #B656DB

Accessibility & contrast

On white

8.66
#762097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#762097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762097
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762097#FFFFFF#000000##FFFFFF
##7620971.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#174D94
Tritanopia (blue-blind)
#733C5B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #762097;
/* rgb */ color: rgb(118, 32, 151);
/* oklch */ color: oklch(43.9% 0.186 314.3);
Tailwind
colors: {
  custom: {
    50: '#a266b6',
    500: '#762097',
    950: '#000000',
  },
}
SCSS
$custom: #762097;
$custom-light: #a266b6;
$custom-dark: #000000;
JSON
{
  "hex": "#762097",
  "rgb": {
    "r": 118,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 283.361,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43873,
    "c": 0.18626,
    "h": 314.3
  },
  "luminance": 0.07119
}

Semantic roles & 50–950 ramp

primary
#762097
secondary
#72BF54
accent
#E8406E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #762097

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

Preview Lab → · Contrast checker → · Palette generator →

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