#762A96#762A96

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

Color values

HEX#762A96
RGBrgb(118, 42, 150)
HSLhsl(282, 56%, 38%)
HSVhsv(282, 72%, 59%)
CMYKcmyk(21.3%, 72%, 0%, 41.2%)
CIE-LABlab(33.37, 50.01, -44.45)
CIE-LCHlch(33.37, 66.91, 318.37°)
OKLaboklab(44.77% 0.1206 -0.1253)
OKLCHoklch(44.77% 0.174 313.9)
XYZxyz(13.8033, 7.7099, 29.6093)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762A96 #4A962A
analogous
#402A96 #762A96 #962A80
triadic
#762A96 #96762A #2A9676
tetradic
#762A96 #96402A #4A962A #2A8096
square
#762A96 #96402A #4A962A #2A8096
split-complementary
#762A96 #80962A #2A9640
monochromatic
#2B0F36 #501D66 #762A96 #9C37C6 #B466D4

Accessibility & contrast

On white

8.26
#762A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#762A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762A96
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762A96#FFFFFF#000000##FFFFFF
##762A961.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#235094
Tritanopia (blue-blind)
#73415D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #762a96;
/* rgb */ color: rgb(118, 42, 150);
/* oklch */ color: oklch(44.8% 0.174 313.9);
Tailwind
colors: {
  custom: {
    50: '#a16bb5',
    500: '#762a96',
    950: '#000000',
  },
}
SCSS
$custom: #762a96;
$custom-light: #a16bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#762a96",
  "rgb": {
    "r": 118,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 282.222,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44767,
    "c": 0.17396,
    "h": 313.9
  },
  "luminance": 0.07709
}

Semantic roles & 50–950 ramp

primary
#762A96
secondary
#7CBA61
accent
#E04875
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762A96

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

Preview Lab → · Contrast checker → · Palette generator →

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