#762C86#762C86

#762C86 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.9% C 0.156 H 320.1°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#762C86
RGBrgb(118, 44, 134)
HSLhsl(289, 51%, 35%)
HSVhsv(289, 67%, 53%)
CMYKcmyk(11.9%, 67.2%, 0%, 47.5%)
CIE-LABlab(32.65, 45.77, -35.76)
CIE-LCHlch(32.65, 58.08, 321.99°)
OKLaboklab(43.91% 0.1193 -0.0999)
OKLCHoklch(43.91% 0.156 320.1)
XYZxyz(12.6744, 7.3748, 23.3055)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762C86 #3C862C
analogous
#492C86 #762C86 #862C69
triadic
#762C86 #86762C #2C8676
tetradic
#762C86 #86492C #3C862C #2C6986
square
#762C86 #86492C #3C862C #2C6986
split-complementary
#762C86 #69862C #2C8649
monochromatic
#250E2A #4D1D58 #762C86 #9F3BB4 #B861CB

Accessibility & contrast

On white

8.49
#762C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762C86
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762C86#FFFFFF#000000##FFFFFF
##762C861.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104889
Deuteranopia (green-blind)
#344F84
Tritanopia (blue-blind)
#773B55
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #762c86;
/* rgb */ color: rgb(118, 44, 134);
/* oklch */ color: oklch(43.9% 0.156 320.1);
Tailwind
colors: {
  custom: {
    50: '#a06baa',
    500: '#762c86',
    950: '#000000',
  },
}
SCSS
$custom: #762c86;
$custom-light: #a06baa;
$custom-dark: #000000;
JSON
{
  "hex": "#762c86",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 289.333,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43913,
    "c": 0.15562,
    "h": 320.1
  },
  "luminance": 0.07374
}

Semantic roles & 50–950 ramp

primary
#762C86
secondary
#6CB15C
accent
#DA4E67
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762C86

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

Preview Lab → · Contrast checker → · Palette generator →

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