#762C74#762C74

#762C74 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.8% C 0.139 H 328.7°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#762C74
RGBrgb(118, 44, 116)
HSLhsl(302, 46%, 32%)
HSVhsv(302, 63%, 46%)
CMYKcmyk(0%, 62.7%, 1.7%, 53.7%)
CIE-LABlab(31.61, 42.25, -26.12)
CIE-LCHlch(31.61, 49.67, 328.27°)
OKLaboklab(42.83% 0.1185 -0.0719)
OKLCHoklch(42.83% 0.139 328.7)
XYZxyz(11.5242, 6.9146, 17.2473)
Luminance0.0691 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762C74 #2C762E
analogous
#532C76 #762C74 #762C4F
triadic
#762C74 #74762C #2C7476
tetradic
#762C74 #76532C #2C762E #2C4F76
square
#762C74 #76532C #2C762E #2C4F76
split-complementary
#762C74 #4F762C #2C7653
monochromatic
#1D0B1C #491B48 #762C74 #A33DA0 #C25BBF

Accessibility & contrast

On white

8.81
#762C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#762C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762C74
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762C74#FFFFFF#000000##FFFFFF
##762C741.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254476
Deuteranopia (green-blind)
#3E4E72
Tritanopia (blue-blind)
#7A354C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #762c74;
/* rgb */ color: rgb(118, 44, 116);
/* oklch */ color: oklch(42.8% 0.139 328.7);
Tailwind
colors: {
  custom: {
    50: '#a06a9c',
    500: '#762c74',
    950: '#000000',
  },
}
SCSS
$custom: #762c74;
$custom-light: #a06a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#762c74",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 116
  },
  "hsl": {
    "h": 301.622,
    "s": 45.679,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4283,
    "c": 0.13863,
    "h": 328.7
  },
  "luminance": 0.06914
}

Semantic roles & 50–950 ramp

primary
#762C74
secondary
#56A759
accent
#D55652
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #762C74

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

Preview Lab → · Contrast checker → · Palette generator →

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