#762A99#762A99

#762A99 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 45.0% C 0.177 H 312.8°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#762A99
RGBrgb(118, 42, 153)
HSLhsl(281, 57%, 38%)
HSVhsv(281, 73%, 60%)
CMYKcmyk(22.9%, 72.5%, 0%, 40%)
CIE-LABlab(33.58, 50.66, -45.95)
CIE-LCHlch(33.58, 68.39, 317.79°)
OKLaboklab(44.98% 0.1203 -0.1297)
OKLCHoklch(44.98% 0.177 312.8)
XYZxyz(14.0479, 7.8078, 30.8979)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762A99 #4D992A
analogous
#3E2A99 #762A99 #992A84
triadic
#762A99 #99762A #2A9976
tetradic
#762A99 #993E2A #4D992A #2A8499
square
#762A99 #993E2A #4D992A #2A8499
split-complementary
#762A99 #84992A #2A993E
monochromatic
#2C1039 #511D69 #762A99 #9B38C8 #B368D6

Accessibility & contrast

On white

8.20
#762A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#762A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762A99
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762A99#FFFFFF#000000##FFFFFF
##762A991.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#1F5197
Tritanopia (blue-blind)
#72425F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #762a99;
/* rgb */ color: rgb(118, 42, 153);
/* oklch */ color: oklch(45.0% 0.177 312.8);
Tailwind
colors: {
  custom: {
    50: '#a16bb8',
    500: '#762a99',
    950: '#000000',
  },
}
SCSS
$custom: #762a99;
$custom-light: #a16bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#762a99",
  "rgb": {
    "r": 118,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 281.081,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44982,
    "c": 0.17691,
    "h": 312.8
  },
  "luminance": 0.07807
}

Semantic roles & 50–950 ramp

primary
#762A99
secondary
#7FBC63
accent
#E04878
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762A99

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

Preview Lab → · Contrast checker → · Palette generator →

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