#762B82#762B82

#762B82 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.5% C 0.153 H 321.9°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#762B82
RGBrgb(118, 43, 130)
HSLhsl(292, 50%, 34%)
HSVhsv(292, 67%, 51%)
CMYKcmyk(9.2%, 66.9%, 0%, 49%)
CIE-LABlab(32.24, 45.41, -33.92)
CIE-LCHlch(32.24, 56.69, 323.24°)
OKLaboklab(43.54% 0.1205 -0.0945)
OKLCHoklch(43.54% 0.153 321.9)
XYZxyz(12.3639, 7.1917, 21.8516)
Luminance0.0719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762B82 #37822B
analogous
#4B2B82 #762B82 #822B63
triadic
#762B82 #82762B #2B8276
tetradic
#762B82 #824B2B #37822B #2B6382
square
#762B82 #824B2B #37822B #2B6382
split-complementary
#762B82 #63822B #2B824B
monochromatic
#230D26 #4C1C54 #762B82 #A03AB0 #BB5ECA

Accessibility & contrast

On white

8.61
#762B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#762B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762B82
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762B82#FFFFFF#000000##FFFFFF
##762B821.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154685
Deuteranopia (green-blind)
#364F80
Tritanopia (blue-blind)
#773952
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #762b82;
/* rgb */ color: rgb(118, 43, 130);
/* oklch */ color: oklch(43.5% 0.153 321.9);
Tailwind
colors: {
  custom: {
    50: '#a06aa7',
    500: '#762b82',
    950: '#000000',
  },
}
SCSS
$custom: #762b82;
$custom-light: #a06aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#762b82",
  "rgb": {
    "r": 118,
    "g": 43,
    "b": 130
  },
  "hsl": {
    "h": 291.724,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43542,
    "c": 0.15319,
    "h": 321.9
  },
  "luminance": 0.07191
}

Semantic roles & 50–950 ramp

primary
#762B82
secondary
#65B059
accent
#DA4E61
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #762B82

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

Preview Lab → · Contrast checker → · Palette generator →

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