#762D99#762D99

#762D99 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.3% C 0.173 H 312.5°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#762D99
RGBrgb(118, 45, 153)
HSLhsl(281, 55%, 39%)
HSVhsv(281, 71%, 60%)
CMYKcmyk(22.9%, 70.6%, 0%, 40%)
CIE-LABlab(34.04, 49.35, -45.20)
CIE-LCHlch(34.04, 66.92, 317.51°)
OKLaboklab(45.31% 0.1171 -0.1275)
OKLCHoklch(45.31% 0.173 312.5)
XYZxyz(14.1583, 8.0286, 30.9347)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762D99 #50992D
analogous
#402D99 #762D99 #992D86
triadic
#762D99 #99762D #2D9976
tetradic
#762D99 #99402D #50992D #2D8699
square
#762D99 #99402D #50992D #2D8699
split-complementary
#762D99 #86992D #2D9940
monochromatic
#2D113A #521F6A #762D99 #9A3DC6 #B26CD4

Accessibility & contrast

On white

8.06
#762D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762D99
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762D99#FFFFFF#000000##FFFFFF
##762D991.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #762d99;
/* rgb */ color: rgb(118, 45, 153);
/* oklch */ color: oklch(45.3% 0.173 312.5);
Tailwind
colors: {
  custom: {
    50: '#a16cb8',
    500: '#762d99',
    950: '#000000',
  },
}
SCSS
$custom: #762d99;
$custom-light: #a16cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#762d99",
  "rgb": {
    "r": 118,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 280.556,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45312,
    "c": 0.17312,
    "h": 312.5
  },
  "luminance": 0.08028
}

Semantic roles & 50–950 ramp

primary
#762D99
secondary
#82BB67
accent
#DE4A7A
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762D99

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

Preview Lab → · Contrast checker → · Palette generator →

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