#762E99#762E99

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

Color values

HEX#762E99
RGBrgb(118, 46, 153)
HSLhsl(280, 54%, 39%)
HSVhsv(280, 70%, 60%)
CMYKcmyk(22.9%, 69.9%, 0%, 40%)
CIE-LABlab(34.20, 48.90, -44.94)
CIE-LCHlch(34.20, 66.42, 317.42°)
OKLaboklab(45.43% 0.1159 -0.1268)
OKLCHoklch(45.43% 0.172 312.4)
XYZxyz(14.1969, 8.1058, 30.9475)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762E99 #51992E
analogous
#412E99 #762E99 #992E87
triadic
#762E99 #99762E #2E9976
tetradic
#762E99 #99412E #51992E #2E8799
square
#762E99 #99412E #51992E #2E8799
split-complementary
#762E99 #87992E #2E9941
monochromatic
#2D123B #52206A #762E99 #993FC5 #B26ED3

Accessibility & contrast

On white

8.01
#762E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#762E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762E99
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762E99#FFFFFF#000000##FFFFFF
##762E991.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #762e99;
/* rgb */ color: rgb(118, 46, 153);
/* oklch */ color: oklch(45.4% 0.172 312.4);
Tailwind
colors: {
  custom: {
    50: '#a16db8',
    500: '#762e99',
    950: '#000000',
  },
}
SCSS
$custom: #762e99;
$custom-light: #a16db8;
$custom-dark: #000000;
JSON
{
  "hex": "#762e99",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 280.374,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45426,
    "c": 0.17182,
    "h": 312.4
  },
  "luminance": 0.08105
}

Semantic roles & 50–950 ramp

primary
#762E99
secondary
#83BB68
accent
#DD4B7B
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762E99

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

Preview Lab → · Contrast checker → · Palette generator →

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