#761A7E#761A7E

#761A7E is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.170 H 324.5°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#761A7E
RGBrgb(118, 26, 126)
HSLhsl(295, 66%, 30%)
HSVhsv(295, 79%, 49%)
CMYKcmyk(6.3%, 79.4%, 0%, 50.6%)
CIE-LABlab(29.66, 51.26, -35.54)
CIE-LCHlch(29.66, 62.37, 325.27°)
OKLaboklab(41.61% 0.1387 -0.0991)
OKLCHoklch(41.61% 0.17 324.5)
XYZxyz(11.6062, 6.0974, 20.3002)
Luminance0.0610 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761A7E #227E1A
analogous
#441A7E #761A7E #7E1A54
triadic
#761A7E #7E761A #1A7E76
tetradic
#761A7E #7E441A #227E1A #1A547E
square
#761A7E #7E441A #227E1A #1A547E
split-complementary
#761A7E #547E1A #1A7E44
monochromatic
#180519 #46104B #761A7E #A624B1 #CA3CD7

Accessibility & contrast

On white

9.46
#761A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#761A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761A7E
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761A7E#FFFFFF#000000##FFFFFF
##761A7E1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#2F4A7C
Tritanopia (blue-blind)
#782D4C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #761a7e;
/* rgb */ color: rgb(118, 26, 126);
/* oklch */ color: oklch(41.6% 0.170 324.5);
Tailwind
colors: {
  custom: {
    50: '#a162a4',
    500: '#761a7e',
    950: '#000000',
  },
}
SCSS
$custom: #761a7e;
$custom-light: #a162a4;
$custom-dark: #000000;
JSON
{
  "hex": "#761a7e",
  "rgb": {
    "r": 118,
    "g": 26,
    "b": 126
  },
  "hsl": {
    "h": 295.2,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41613,
    "c": 0.17049,
    "h": 324.5
  },
  "luminance": 0.06097
}

Semantic roles & 50–950 ramp

primary
#761A7E
secondary
#4BB242
accent
#E93F4D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #761A7E

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

Preview Lab → · Contrast checker → · Palette generator →

#761A7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva