#762F8A#762F8A

#762F8A is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.5% C 0.155 H 318.1°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#762F8A
RGBrgb(118, 47, 138)
HSLhsl(287, 49%, 36%)
HSVhsv(287, 66%, 54%)
CMYKcmyk(14.5%, 65.9%, 0%, 45.9%)
CIE-LABlab(33.39, 45.21, -37.05)
CIE-LCHlch(33.39, 58.45, 320.66°)
OKLaboklab(44.53% 0.1156 -0.1037)
OKLCHoklch(44.53% 0.155 318.1)
XYZxyz(13.0745, 7.7201, 24.8413)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762F8A #438A2F
analogous
#492F8A #762F8A #8A2F71
triadic
#762F8A #8A762F #2F8A76
tetradic
#762F8A #8A492F #438A2F #2F718A
square
#762F8A #8A492F #438A2F #2F718A
split-complementary
#762F8A #718A2F #2F8A49
monochromatic
#28102F #4F1F5C #762F8A #9D3FB8 #B668CC

Accessibility & contrast

On white

8.25
#762F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#762F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762F8A
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762F8A#FFFFFF#000000##FFFFFF
##762F8A1.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114A8D
Deuteranopia (green-blind)
#335188
Tritanopia (blue-blind)
#763F58
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #762f8a;
/* rgb */ color: rgb(118, 47, 138);
/* oklch */ color: oklch(44.5% 0.155 318.1);
Tailwind
colors: {
  custom: {
    50: '#a06dad',
    500: '#762f8a',
    950: '#000000',
  },
}
SCSS
$custom: #762f8a;
$custom-light: #a06dad;
$custom-dark: #000000;
JSON
{
  "hex": "#762f8a",
  "rgb": {
    "r": 118,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 286.813,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44532,
    "c": 0.15528,
    "h": 318.1
  },
  "luminance": 0.0772
}

Semantic roles & 50–950 ramp

primary
#762F8A
secondary
#74B362
accent
#D94F6D
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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