#762C94#762C94

#762C94 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.8% C 0.169 H 314.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#762C94
RGBrgb(118, 44, 148)
HSLhsl(283, 54%, 38%)
HSVhsv(283, 70%, 58%)
CMYKcmyk(20.3%, 70.3%, 0%, 42%)
CIE-LABlab(33.54, 48.71, -42.95)
CIE-LCHlch(33.54, 64.94, 318.59°)
OKLaboklab(44.85% 0.1186 -0.1209)
OKLCHoklch(44.85% 0.169 314.4)
XYZxyz(13.7163, 7.7915, 28.7926)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762C94 #4A942C
analogous
#422C94 #762C94 #942C7E
triadic
#762C94 #94762C #2C9476
tetradic
#762C94 #94422C #4A942C #2C7E94
square
#762C94 #94422C #4A942C #2C7E94
split-complementary
#762C94 #7E942C #2C9442
monochromatic
#2B1036 #501E65 #762C94 #9C3AC3 #B468D2

Accessibility & contrast

On white

8.21
#762C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762C94
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762C94#FFFFFF#000000##FFFFFF
##762C941.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#275192
Tritanopia (blue-blind)
#73415D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #762c94;
/* rgb */ color: rgb(118, 44, 148);
/* oklch */ color: oklch(44.8% 0.169 314.4);
Tailwind
colors: {
  custom: {
    50: '#a16cb4',
    500: '#762c94',
    950: '#000000',
  },
}
SCSS
$custom: #762c94;
$custom-light: #a16cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#762c94",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 148
  },
  "hsl": {
    "h": 282.692,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44848,
    "c": 0.16942,
    "h": 314.4
  },
  "luminance": 0.07791
}

Semantic roles & 50–950 ramp

primary
#762C94
secondary
#7CB963
accent
#DE4A75
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762C94

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

Preview Lab → · Contrast checker → · Palette generator →

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