#761A8F#761A8F

#761A8F is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.8% C 0.185 H 317.6°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#761A8F
RGBrgb(118, 26, 143)
HSLhsl(287, 69%, 33%)
HSVhsv(287, 82%, 56%)
CMYKcmyk(17.5%, 81.8%, 0%, 43.9%)
CIE-LABlab(30.82, 54.48, -44.27)
CIE-LCHlch(30.82, 70.20, 320.90°)
OKLaboklab(42.8% 0.1366 -0.1247)
OKLCHoklch(42.8% 0.185 317.6)
XYZxyz(12.7978, 6.5741, 26.5761)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761A8F #338F1A
analogous
#3B1A8F #761A8F #8F1A6E
triadic
#761A8F #8F761A #1A8F76
tetradic
#761A8F #8F3B1A #338F1A #1A6E8F
square
#761A8F #8F3B1A #338F1A #1A6E8F
split-complementary
#761A8F #6E8F1A #1A8F3B
monochromatic
#210727 #4B115B #761A8F #A123C3 #BD46DD

Accessibility & contrast

On white

9.07
#761A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#761A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761A8F
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761A8F#FFFFFF#000000##FFFFFF
##761A8F1.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#1E4B8D
Tritanopia (blue-blind)
#753555
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #761a8f;
/* rgb */ color: rgb(118, 26, 143);
/* oklch */ color: oklch(42.8% 0.185 317.6);
Tailwind
colors: {
  custom: {
    50: '#a263b0',
    500: '#761a8f',
    950: '#000000',
  },
}
SCSS
$custom: #761a8f;
$custom-light: #a263b0;
$custom-dark: #000000;
JSON
{
  "hex": "#761a8f",
  "rgb": {
    "r": 118,
    "g": 26,
    "b": 143
  },
  "hsl": {
    "h": 287.179,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42802,
    "c": 0.18495,
    "h": 317.6
  },
  "luminance": 0.06574
}

Semantic roles & 50–950 ramp

primary
#761A8F
secondary
#60BF46
accent
#EC3C61
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #761A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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