#762C78#762C78

#762C78 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.1% C 0.142 H 326.6°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#762C78
RGBrgb(118, 44, 120)
HSLhsl(298, 46%, 32%)
HSVhsv(298, 63%, 47%)
CMYKcmyk(1.7%, 63.3%, 0%, 52.9%)
CIE-LABlab(31.83, 43.00, -28.31)
CIE-LCHlch(31.83, 51.48, 326.64°)
OKLaboklab(43.06% 0.1189 -0.0782)
OKLCHoklch(43.06% 0.142 326.6)
XYZxyz(11.7618, 7.0097, 18.4992)
Luminance0.0701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762C78 #2E782C
analogous
#502C78 #762C78 #782C54
triadic
#762C78 #78762C #2C7876
tetradic
#762C78 #78502C #2E782C #2C5478
square
#762C78 #78502C #2E782C #2C5478
split-complementary
#762C78 #54782C #2C7850
monochromatic
#1E0B1E #4A1C4B #762C78 #A23CA5 #C05BC3

Accessibility & contrast

On white

8.74
#762C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#762C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762C78
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762C78#FFFFFF#000000##FFFFFF
##762C781.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22457A
Deuteranopia (green-blind)
#3C4E76
Tritanopia (blue-blind)
#79364E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #762c78;
/* rgb */ color: rgb(118, 44, 120);
/* oklch */ color: oklch(43.1% 0.142 326.6);
Tailwind
colors: {
  custom: {
    50: '#a06b9f',
    500: '#762c78',
    950: '#000000',
  },
}
SCSS
$custom: #762c78;
$custom-light: #a06b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#762c78",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 120
  },
  "hsl": {
    "h": 298.421,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43059,
    "c": 0.1423,
    "h": 326.6
  },
  "luminance": 0.07009
}

Semantic roles & 50–950 ramp

primary
#762C78
secondary
#59A957
accent
#D65255
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #762C78

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

Preview Lab → · Contrast checker → · Palette generator →

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