#762C82#762C82

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

Color values

HEX#762C82
RGBrgb(118, 44, 130)
HSLhsl(292, 49%, 34%)
HSVhsv(292, 66%, 51%)
CMYKcmyk(9.2%, 66.2%, 0%, 49%)
CIE-LABlab(32.40, 44.96, -33.66)
CIE-LCHlch(32.40, 56.16, 323.18°)
OKLaboklab(43.66% 0.1193 -0.0938)
OKLCHoklch(43.66% 0.152 321.8)
XYZxyz(12.4007, 7.2653, 21.8639)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762C82 #38822C
analogous
#4B2C82 #762C82 #822C63
triadic
#762C82 #82762C #2C8276
tetradic
#762C82 #824B2C #38822C #2C6382
square
#762C82 #824B2C #38822C #2C6382
split-complementary
#762C82 #63822C #2C824B
monochromatic
#230D27 #4C1D54 #762C82 #A03BB0 #BA5FC9

Accessibility & contrast

On white

8.56
#762C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#762C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762C82
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762C82#FFFFFF#000000##FFFFFF
##762C821.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174785
Deuteranopia (green-blind)
#364F80
Tritanopia (blue-blind)
#773A53
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #762c82;
/* rgb */ color: rgb(118, 44, 130);
/* oklch */ color: oklch(43.7% 0.152 321.8);
Tailwind
colors: {
  custom: {
    50: '#a06ba7',
    500: '#762c82',
    950: '#000000',
  },
}
SCSS
$custom: #762c82;
$custom-light: #a06ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#762c82",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 130
  },
  "hsl": {
    "h": 291.628,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43661,
    "c": 0.15176,
    "h": 321.8
  },
  "luminance": 0.07265
}

Semantic roles & 50–950 ramp

primary
#762C82
secondary
#66AF5B
accent
#D94F62
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #762C82

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

Preview Lab → · Contrast checker → · Palette generator →

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