#762E9A#762E9A

#762E9A is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.5% C 0.173 H 312.1°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#762E9A
RGBrgb(118, 46, 154)
HSLhsl(280, 54%, 39%)
HSVhsv(280, 70%, 60%)
CMYKcmyk(23.4%, 70.1%, 0%, 39.6%)
CIE-LABlab(34.27, 49.12, -45.44)
CIE-LCHlch(34.27, 66.92, 317.23°)
OKLaboklab(45.5% 0.1158 -0.1283)
OKLCHoklch(45.5% 0.173 312.1)
XYZxyz(14.2799, 8.1390, 31.3843)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762E9A #529A2E
analogous
#402E9A #762E9A #9A2E88
triadic
#762E9A #9A762E #2E9A76
tetradic
#762E9A #9A402E #529A2E #2E889A
square
#762E9A #9A402E #529A2E #2E889A
split-complementary
#762E9A #889A2E #2E9A40
monochromatic
#2E123C #52206B #762E9A #993FC6 #B26FD4

Accessibility & contrast

On white

7.99
#762E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#762E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762E9A
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762E9A#FFFFFF#000000##FFFFFF
##762E9A1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9D
Deuteranopia (green-blind)
#225298
Tritanopia (blue-blind)
#724560
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #762e9a;
/* rgb */ color: rgb(118, 46, 154);
/* oklch */ color: oklch(45.5% 0.173 312.1);
Tailwind
colors: {
  custom: {
    50: '#a16db8',
    500: '#762e9a',
    950: '#000000',
  },
}
SCSS
$custom: #762e9a;
$custom-light: #a16db8;
$custom-dark: #000000;
JSON
{
  "hex": "#762e9a",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 280,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45497,
    "c": 0.17284,
    "h": 312.1
  },
  "luminance": 0.08139
}

Semantic roles & 50–950 ramp

primary
#762E9A
secondary
#84BB69
accent
#DD4A7B
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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