#762D82#762D82

#762D82 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.8% C 0.150 H 321.8°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#762D82
RGBrgb(118, 45, 130)
HSLhsl(292, 49%, 34%)
HSVhsv(292, 65%, 51%)
CMYKcmyk(9.2%, 65.4%, 0%, 49%)
CIE-LABlab(32.57, 44.50, -33.40)
CIE-LCHlch(32.57, 55.64, 323.11°)
OKLaboklab(43.78% 0.1181 -0.093)
OKLCHoklch(43.78% 0.15 321.8)
XYZxyz(12.4384, 7.3407, 21.8765)
Luminance0.0734 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762D82 #39822D
analogous
#4C2D82 #762D82 #822D64
triadic
#762D82 #82762D #2D8276
tetradic
#762D82 #824C2D #39822D #2D6482
square
#762D82 #824C2D #39822D #2D6482
split-complementary
#762D82 #64822D #2D824C
monochromatic
#230E27 #4D1D55 #762D82 #9F3DAF #BA61C8

Accessibility & contrast

On white

8.51
#762D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#762D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762D82
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762D82#FFFFFF#000000##FFFFFF
##762D821.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194785
Deuteranopia (green-blind)
#374F80
Tritanopia (blue-blind)
#773B53
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #762d82;
/* rgb */ color: rgb(118, 45, 130);
/* oklch */ color: oklch(43.8% 0.150 321.8);
Tailwind
colors: {
  custom: {
    50: '#a06ba7',
    500: '#762d82',
    950: '#000000',
  },
}
SCSS
$custom: #762d82;
$custom-light: #a06ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#762d82",
  "rgb": {
    "r": 118,
    "g": 45,
    "b": 130
  },
  "hsl": {
    "h": 291.529,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43781,
    "c": 0.1503,
    "h": 321.8
  },
  "luminance": 0.0734
}

Semantic roles & 50–950 ramp

primary
#762D82
secondary
#68AF5C
accent
#D85063
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #762D82

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

Preview Lab → · Contrast checker → · Palette generator →

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