#763987#763987

#763987 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 45.7% C 0.137 H 318.4°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#763987
RGBrgb(118, 57, 135)
HSLhsl(287, 41%, 38%)
HSVhsv(287, 58%, 53%)
CMYKcmyk(12.6%, 57.8%, 0%, 47.1%)
CIE-LABlab(35.06, 39.55, -32.55)
CIE-LCHlch(35.06, 51.22, 320.54°)
OKLaboklab(45.69% 0.1022 -0.0906)
OKLCHoklch(45.69% 0.137 318.4)
XYZxyz(13.3069, 8.5276, 23.8620)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#763987 #4A8739
analogous
#4F3987 #763987 #873971
triadic
#763987 #877639 #398776
tetradic
#763987 #874F39 #4A8739 #397187
square
#763987 #874F39 #4A8739 #397187
split-complementary
#763987 #718739 #39874F
monochromatic
#2B1531 #50275C #763987 #9C4BB2 #B475C5

Accessibility & contrast

On white

7.76
#763987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#763987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #763987
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##763987#FFFFFF#000000##FFFFFF
##7639871.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284E8A
Deuteranopia (green-blind)
#3D5485
Tritanopia (blue-blind)
#76455A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #763987;
/* rgb */ color: rgb(118, 57, 135);
/* oklch */ color: oklch(45.7% 0.137 318.4);
Tailwind
colors: {
  custom: {
    50: '#a072aa',
    500: '#763987',
    950: '#000000',
  },
}
SCSS
$custom: #763987;
$custom-light: #a072aa;
$custom-dark: #000000;
JSON
{
  "hex": "#763987",
  "rgb": {
    "r": 118,
    "g": 57,
    "b": 135
  },
  "hsl": {
    "h": 286.923,
    "s": 40.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45686,
    "c": 0.13662,
    "h": 318.4
  },
  "luminance": 0.08527
}

Semantic roles & 50–950 ramp

primary
#763987
secondary
#7CAE6E
accent
#D05772
background
#FAF7FA
surface
#F3EDF4
border
#CDC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #763987

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

Preview Lab → · Contrast checker → · Palette generator →

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