#762A97#762A97

#762A97 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.175 H 313.5°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#762A97
RGBrgb(118, 42, 151)
HSLhsl(282, 56%, 38%)
HSVhsv(282, 72%, 59%)
CMYKcmyk(21.9%, 72.2%, 0%, 40.8%)
CIE-LABlab(33.44, 50.22, -44.95)
CIE-LCHlch(33.44, 67.40, 318.17°)
OKLaboklab(44.84% 0.1205 -0.1268)
OKLCHoklch(44.84% 0.175 313.5)
XYZxyz(13.8841, 7.7423, 30.0352)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762A97 #4B972A
analogous
#3F2A97 #762A97 #972A81
triadic
#762A97 #97762A #2A9776
tetradic
#762A97 #973F2A #4B972A #2A8197
square
#762A97 #973F2A #4B972A #2A8197
split-complementary
#762A97 #81972A #2A973F
monochromatic
#2B0F37 #511D67 #762A97 #9B37C7 #B367D5

Accessibility & contrast

On white

8.24
#762A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#762A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762A97
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762A97#FFFFFF#000000##FFFFFF
##762A971.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#225095
Tritanopia (blue-blind)
#73415E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #762a97;
/* rgb */ color: rgb(118, 42, 151);
/* oklch */ color: oklch(44.8% 0.175 313.5);
Tailwind
colors: {
  custom: {
    50: '#a16bb6',
    500: '#762a97',
    950: '#000000',
  },
}
SCSS
$custom: #762a97;
$custom-light: #a16bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#762a97",
  "rgb": {
    "r": 118,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 281.835,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44838,
    "c": 0.17493,
    "h": 313.5
  },
  "luminance": 0.07742
}

Semantic roles & 50–950 ramp

primary
#762A97
secondary
#7DBB62
accent
#E04876
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762A97

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

Preview Lab → · Contrast checker → · Palette generator →

#762A97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva