#762C8B#762C8B

#762C8B is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.2% C 0.161 H 317.9°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#762C8B
RGBrgb(118, 44, 139)
HSLhsl(287, 52%, 36%)
HSVhsv(287, 68%, 55%)
CMYKcmyk(15.1%, 68.3%, 0%, 45.5%)
CIE-LABlab(32.96, 46.80, -38.36)
CIE-LCHlch(32.96, 60.51, 320.66°)
OKLaboklab(44.24% 0.1192 -0.1075)
OKLCHoklch(44.24% 0.161 317.9)
XYZxyz(13.0314, 7.5176, 25.1857)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762C8B #418B2C
analogous
#462C8B #762C8B #8B2C70
triadic
#762C8B #8B762C #2C8B76
tetradic
#762C8B #8B462C #418B2C #2C708B
square
#762C8B #8B462C #418B2C #2C708B
split-complementary
#762C8B #708B2C #2C8B46
monochromatic
#270F2E #4F1D5D #762C8B #9D3BB9 #B664CE

Accessibility & contrast

On white

8.39
#762C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#762C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762C8B
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762C8B#FFFFFF#000000##FFFFFF
##762C8B1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04498E
Deuteranopia (green-blind)
#305089
Tritanopia (blue-blind)
#753D58
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #762c8b;
/* rgb */ color: rgb(118, 44, 139);
/* oklch */ color: oklch(44.2% 0.161 317.9);
Tailwind
colors: {
  custom: {
    50: '#a06bad',
    500: '#762c8b',
    950: '#000000',
  },
}
SCSS
$custom: #762c8b;
$custom-light: #a06bad;
$custom-dark: #000000;
JSON
{
  "hex": "#762c8b",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 286.737,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44238,
    "c": 0.16051,
    "h": 317.9
  },
  "luminance": 0.07517
}

Semantic roles & 50–950 ramp

primary
#762C8B
secondary
#72B45F
accent
#DB4C6C
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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