#762A98#762A98

#762A98 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.9% C 0.176 H 313.2°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#762A98
RGBrgb(118, 42, 152)
HSLhsl(281, 57%, 38%)
HSVhsv(281, 72%, 60%)
CMYKcmyk(22.4%, 72.4%, 0%, 40.4%)
CIE-LABlab(33.51, 50.44, -45.45)
CIE-LCHlch(33.51, 67.89, 317.98°)
OKLaboklab(44.91% 0.1204 -0.1283)
OKLCHoklch(44.91% 0.176 313.2)
XYZxyz(13.9657, 7.7749, 30.4647)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762A98 #4C982A
analogous
#3F2A98 #762A98 #982A83
triadic
#762A98 #98762A #2A9876
tetradic
#762A98 #983F2A #4C982A #2A8398
square
#762A98 #983F2A #4C982A #2A8398
split-complementary
#762A98 #83982A #2A983F
monochromatic
#2C1038 #511D68 #762A98 #9B37C8 #B367D5

Accessibility & contrast

On white

8.22
#762A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#762A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762A98
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762A98#FFFFFF#000000##FFFFFF
##762A981.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#215096
Tritanopia (blue-blind)
#72425E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #762a98;
/* rgb */ color: rgb(118, 42, 152);
/* oklch */ color: oklch(44.9% 0.176 313.2);
Tailwind
colors: {
  custom: {
    50: '#a16bb7',
    500: '#762a98',
    950: '#000000',
  },
}
SCSS
$custom: #762a98;
$custom-light: #a16bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#762a98",
  "rgb": {
    "r": 118,
    "g": 42,
    "b": 152
  },
  "hsl": {
    "h": 281.455,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4491,
    "c": 0.17592,
    "h": 313.2
  },
  "luminance": 0.07774
}

Semantic roles & 50–950 ramp

primary
#762A98
secondary
#7EBB62
accent
#E04877
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762A98

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

Preview Lab → · Contrast checker → · Palette generator →

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