#762B96#762B96

#762B96 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.9% C 0.173 H 313.8°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#762B96
RGBrgb(118, 43, 150)
HSLhsl(282, 55%, 38%)
HSVhsv(282, 71%, 59%)
CMYKcmyk(21.3%, 71.3%, 0%, 41.2%)
CIE-LABlab(33.52, 49.58, -44.21)
CIE-LCHlch(33.52, 66.42, 318.28°)
OKLaboklab(44.88% 0.1196 -0.1246)
OKLCHoklch(44.88% 0.173 313.8)
XYZxyz(13.8392, 7.7818, 29.6213)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762B96 #4B962B
analogous
#402B96 #762B96 #962B80
triadic
#762B96 #96762B #2B9676
tetradic
#762B96 #96402B #4B962B #2B8096
square
#762B96 #96402B #4B962B #2B8096
split-complementary
#762B96 #80962B #2B9640
monochromatic
#2B1037 #511D66 #762B96 #9B39C6 #B368D4

Accessibility & contrast

On white

8.22
#762B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#762B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762B96
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762B96#FFFFFF#000000##FFFFFF
##762B961.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#245194
Tritanopia (blue-blind)
#73415D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #762b96;
/* rgb */ color: rgb(118, 43, 150);
/* oklch */ color: oklch(44.9% 0.173 313.8);
Tailwind
colors: {
  custom: {
    50: '#a16bb5',
    500: '#762b96',
    950: '#000000',
  },
}
SCSS
$custom: #762b96;
$custom-light: #a16bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#762b96",
  "rgb": {
    "r": 118,
    "g": 43,
    "b": 150
  },
  "hsl": {
    "h": 282.056,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44876,
    "c": 0.17269,
    "h": 313.8
  },
  "luminance": 0.07781
}

Semantic roles & 50–950 ramp

primary
#762B96
secondary
#7DBA63
accent
#DF4976
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762B96

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

Preview Lab → · Contrast checker → · Palette generator →

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