#762F99#762F99

#762F99 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.5% C 0.170 H 312.3°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#762F99
RGBrgb(118, 47, 153)
HSLhsl(280, 53%, 39%)
HSVhsv(280, 69%, 60%)
CMYKcmyk(22.9%, 69.3%, 0%, 40%)
CIE-LABlab(34.37, 48.45, -44.68)
CIE-LCHlch(34.37, 65.90, 317.32°)
OKLaboklab(45.54% 0.1148 -0.126)
OKLCHoklch(45.54% 0.17 312.3)
XYZxyz(14.2365, 8.1849, 30.9607)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762F99 #52992F
analogous
#412F99 #762F99 #992F87
triadic
#762F99 #99762F #2F9976
tetradic
#762F99 #99412F #52992F #2F8799
square
#762F99 #99412F #52992F #2F8799
split-complementary
#762F99 #87992F #2F9941
monochromatic
#2E123B #52216A #762F99 #9941C5 #B26FD3

Accessibility & contrast

On white

7.96
#762F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#762F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762F99
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762F99#FFFFFF#000000##FFFFFF
##762F991.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #762f99;
/* rgb */ color: rgb(118, 47, 153);
/* oklch */ color: oklch(45.5% 0.170 312.3);
Tailwind
colors: {
  custom: {
    50: '#a16db8',
    500: '#762f99',
    950: '#000000',
  },
}
SCSS
$custom: #762f99;
$custom-light: #a16db8;
$custom-dark: #000000;
JSON
{
  "hex": "#762f99",
  "rgb": {
    "r": 118,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 280.189,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45543,
    "c": 0.17049,
    "h": 312.3
  },
  "luminance": 0.08184
}

Semantic roles & 50–950 ramp

primary
#762F99
secondary
#84BA69
accent
#DC4B7B
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762F99

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

Preview Lab → · Contrast checker → · Palette generator →

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