#762B99#762B99

#762B99 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.1% C 0.176 H 312.7°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#762B99
RGBrgb(118, 43, 153)
HSLhsl(281, 56%, 38%)
HSVhsv(281, 72%, 60%)
CMYKcmyk(22.9%, 71.9%, 0%, 40%)
CIE-LABlab(33.73, 50.23, -45.70)
CIE-LCHlch(33.73, 67.91, 317.70°)
OKLaboklab(45.09% 0.1192 -0.129)
OKLCHoklch(45.09% 0.176 312.7)
XYZxyz(14.0838, 7.8796, 30.9098)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762B99 #4E992B
analogous
#3F2B99 #762B99 #992B85
triadic
#762B99 #99762B #2B9976
tetradic
#762B99 #993F2B #4E992B #2B8599
square
#762B99 #993F2B #4E992B #2B8599
split-complementary
#762B99 #85992B #2B993F
monochromatic
#2C1039 #511E69 #762B99 #9A3AC8 #B369D5

Accessibility & contrast

On white

8.15
#762B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#762B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762B99
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762B99#FFFFFF#000000##FFFFFF
##762B991.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#205197
Tritanopia (blue-blind)
#72425F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #762b99;
/* rgb */ color: rgb(118, 43, 153);
/* oklch */ color: oklch(45.1% 0.176 312.7);
Tailwind
colors: {
  custom: {
    50: '#a16bb8',
    500: '#762b99',
    950: '#000000',
  },
}
SCSS
$custom: #762b99;
$custom-light: #a16bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#762b99",
  "rgb": {
    "r": 118,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 280.909,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4509,
    "c": 0.17566,
    "h": 312.7
  },
  "luminance": 0.07879
}

Semantic roles & 50–950 ramp

primary
#762B99
secondary
#80BC64
accent
#DF4878
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762B99

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

Preview Lab → · Contrast checker → · Palette generator →

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