#762B8A#762B8A

#762B8A is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.1% C 0.161 H 318.4°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#762B8A
RGBrgb(118, 43, 138)
HSLhsl(287, 52%, 35%)
HSVhsv(287, 69%, 54%)
CMYKcmyk(14.5%, 68.8%, 0%, 45.9%)
CIE-LABlab(32.73, 47.04, -38.10)
CIE-LCHlch(32.73, 60.54, 320.99°)
OKLaboklab(44.06% 0.1204 -0.1067)
OKLCHoklch(44.06% 0.161 318.4)
XYZxyz(12.9219, 7.4149, 24.7904)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762B8A #3F8A2B
analogous
#462B8A #762B8A #8A2B6E
triadic
#762B8A #8A762B #2B8A76
tetradic
#762B8A #8A462B #3F8A2B #2B6E8A
square
#762B8A #8A462B #3F8A2B #2B6E8A
split-complementary
#762B8A #6E8A2B #2B8A46
monochromatic
#260E2D #4E1C5B #762B8A #9E3AB9 #B761CE

Accessibility & contrast

On white

8.46
#762B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#762B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762B8A
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762B8A#FFFFFF#000000##FFFFFF
##762B8A1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03488D
Deuteranopia (green-blind)
#304F88
Tritanopia (blue-blind)
#763C57
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #762b8a;
/* rgb */ color: rgb(118, 43, 138);
/* oklch */ color: oklch(44.1% 0.161 318.4);
Tailwind
colors: {
  custom: {
    50: '#a16bad',
    500: '#762b8a',
    950: '#000000',
  },
}
SCSS
$custom: #762b8a;
$custom-light: #a16bad;
$custom-dark: #000000;
JSON
{
  "hex": "#762b8a",
  "rgb": {
    "r": 118,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 287.368,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44057,
    "c": 0.16091,
    "h": 318.4
  },
  "luminance": 0.07414
}

Semantic roles & 50–950 ramp

primary
#762B8A
secondary
#6FB45D
accent
#DC4C6A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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