#762986#762986

#762986 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.6% C 0.160 H 320.3°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#762986
RGBrgb(118, 41, 134)
HSLhsl(290, 53%, 34%)
HSVhsv(290, 69%, 53%)
CMYKcmyk(11.9%, 69.4%, 0%, 47.5%)
CIE-LABlab(32.17, 47.10, -36.53)
CIE-LCHlch(32.17, 59.61, 322.21°)
OKLaboklab(43.57% 0.1229 -0.1021)
OKLCHoklch(43.57% 0.16 320.3)
XYZxyz(12.5667, 7.1593, 23.2696)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762986 #398629
analogous
#472986 #762986 #862968
triadic
#762986 #867629 #298676
tetradic
#762986 #864729 #398629 #296886
square
#762986 #864729 #398629 #296886
split-complementary
#762986 #688629 #298647
monochromatic
#230C28 #4D1B57 #762986 #9F37B5 #BA5CCD

Accessibility & contrast

On white

8.64
#762986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#762986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762986
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762986#FFFFFF#000000##FFFFFF
##7629861.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074689
Deuteranopia (green-blind)
#314E84
Tritanopia (blue-blind)
#773A54
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #762986;
/* rgb */ color: rgb(118, 41, 134);
/* oklch */ color: oklch(43.6% 0.160 320.3);
Tailwind
colors: {
  custom: {
    50: '#a069aa',
    500: '#762986',
    950: '#000000',
  },
}
SCSS
$custom: #762986;
$custom-light: #a069aa;
$custom-dark: #000000;
JSON
{
  "hex": "#762986",
  "rgb": {
    "r": 118,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 289.677,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43569,
    "c": 0.15978,
    "h": 320.3
  },
  "luminance": 0.07159
}

Semantic roles & 50–950 ramp

primary
#762986
secondary
#68B358
accent
#DD4B64
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762986

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

Preview Lab → · Contrast checker → · Palette generator →

#762986 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva