#762B76#762B76

#762B76 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.8% C 0.142 H 327.7°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#762B76
RGBrgb(118, 43, 118)
HSLhsl(300, 47%, 32%)
HSVhsv(300, 64%, 46%)
CMYKcmyk(0%, 63.6%, 0%, 53.7%)
CIE-LABlab(31.55, 43.09, -27.48)
CIE-LCHlch(31.55, 51.11, 327.47°)
OKLaboklab(42.82% 0.12 -0.0758)
OKLCHoklch(42.82% 0.142 327.7)
XYZxyz(11.6049, 6.8881, 17.8543)
Luminance0.0689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762B76 #2B762B
analogous
#512B76 #762B76 #762B51
triadic
#762B76 #76762B #2B7676
tetradic
#762B76 #76512B #2B762B #2B5176
square
#762B76 #76512B #2B762B #2B5176
split-complementary
#762B76 #51762B #2B7651
monochromatic
#1C0A1C #491B49 #762B76 #A33BA3 #C259C2

Accessibility & contrast

On white

8.83
#762B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#762B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762B76
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762B76#FFFFFF#000000##FFFFFF
##762B761.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224478
Deuteranopia (green-blind)
#3D4E74
Tritanopia (blue-blind)
#7A354C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #762b76;
/* rgb */ color: rgb(118, 43, 118);
/* oklch */ color: oklch(42.8% 0.142 327.7);
Tailwind
colors: {
  custom: {
    50: '#a06a9e',
    500: '#762b76',
    950: '#000000',
  },
}
SCSS
$custom: #762b76;
$custom-light: #a06a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#762b76",
  "rgb": {
    "r": 118,
    "g": 43,
    "b": 118
  },
  "hsl": {
    "h": 300,
    "s": 46.584,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42821,
    "c": 0.14197,
    "h": 327.7
  },
  "luminance": 0.06887
}

Semantic roles & 50–950 ramp

primary
#762B76
secondary
#55A855
accent
#D65252
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #762B76

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

Preview Lab → · Contrast checker → · Palette generator →

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