#762D9A#762D9A

#762D9A is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.4% C 0.174 H 312.2°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#762D9A
RGBrgb(118, 45, 154)
HSLhsl(280, 55%, 39%)
HSVhsv(280, 71%, 60%)
CMYKcmyk(23.4%, 70.8%, 0%, 39.6%)
CIE-LABlab(34.11, 49.57, -45.70)
CIE-LCHlch(34.11, 67.42, 317.33°)
OKLaboklab(45.38% 0.1169 -0.129)
OKLCHoklch(45.38% 0.174 312.2)
XYZxyz(14.2413, 8.0618, 31.3715)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762D9A #519A2D
analogous
#3F2D9A #762D9A #9A2D88
triadic
#762D9A #9A762D #2D9A76
tetradic
#762D9A #9A3F2D #519A2D #2D889A
square
#762D9A #9A3F2D #519A2D #2D889A
split-complementary
#762D9A #889A2D #2D9A3F
monochromatic
#2D113B #521F6B #762D9A #993EC7 #B26DD4

Accessibility & contrast

On white

8.04
#762D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#762D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762D9A
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762D9A#FFFFFF#000000##FFFFFF
##762D9A1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9D
Deuteranopia (green-blind)
#215298
Tritanopia (blue-blind)
#724460
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #762d9a;
/* rgb */ color: rgb(118, 45, 154);
/* oklch */ color: oklch(45.4% 0.174 312.2);
Tailwind
colors: {
  custom: {
    50: '#a16cb8',
    500: '#762d9a',
    950: '#000000',
  },
}
SCSS
$custom: #762d9a;
$custom-light: #a16cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#762d9a",
  "rgb": {
    "r": 118,
    "g": 45,
    "b": 154
  },
  "hsl": {
    "h": 280.183,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45383,
    "c": 0.17412,
    "h": 312.2
  },
  "luminance": 0.08061
}

Semantic roles & 50–950 ramp

primary
#762D9A
secondary
#83BB67
accent
#DE4A7B
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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