#762B94#762B94

#762B94 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.7% C 0.171 H 314.5°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#762B94
RGBrgb(118, 43, 148)
HSLhsl(283, 55%, 37%)
HSVhsv(283, 71%, 58%)
CMYKcmyk(20.3%, 70.9%, 0%, 42%)
CIE-LABlab(33.39, 49.15, -43.20)
CIE-LCHlch(33.39, 65.44, 318.68°)
OKLaboklab(44.74% 0.1197 -0.1217)
OKLCHoklch(44.74% 0.171 314.5)
XYZxyz(13.6795, 7.7179, 28.7803)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762B94 #49942B
analogous
#412B94 #762B94 #942B7E
triadic
#762B94 #94762B #2B9476
tetradic
#762B94 #94412B #49942B #2B7E94
square
#762B94 #94412B #49942B #2B7E94
split-complementary
#762B94 #7E942B #2B9441
monochromatic
#2A0F35 #501D65 #762B94 #9C39C3 #B467D3

Accessibility & contrast

On white

8.26
#762B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#762B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762B94
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762B94#FFFFFF#000000##FFFFFF
##762B941.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A97
Deuteranopia (green-blind)
#265092
Tritanopia (blue-blind)
#73405C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #762b94;
/* rgb */ color: rgb(118, 43, 148);
/* oklch */ color: oklch(44.7% 0.171 314.5);
Tailwind
colors: {
  custom: {
    50: '#a16bb4',
    500: '#762b94',
    950: '#000000',
  },
}
SCSS
$custom: #762b94;
$custom-light: #a16bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#762b94",
  "rgb": {
    "r": 118,
    "g": 43,
    "b": 148
  },
  "hsl": {
    "h": 282.857,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44736,
    "c": 0.17072,
    "h": 314.5
  },
  "luminance": 0.07717
}

Semantic roles & 50–950 ramp

primary
#762B94
secondary
#7BB962
accent
#DE4974
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762B94

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

Preview Lab → · Contrast checker → · Palette generator →

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