#762787#762787

#762787 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.4% C 0.163 H 320.0°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#762787
RGBrgb(118, 39, 135)
HSLhsl(289, 55%, 34%)
HSVhsv(289, 71%, 53%)
CMYKcmyk(12.6%, 71.1%, 0%, 47.1%)
CIE-LABlab(31.93, 48.16, -37.53)
CIE-LCHlch(31.93, 61.06, 322.07°)
OKLaboklab(43.42% 0.1251 -0.105)
OKLCHoklch(43.42% 0.163 320)
XYZxyz(12.5694, 7.0525, 23.6162)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762787 #388727
analogous
#462787 #762787 #872768
triadic
#762787 #877627 #278776
tetradic
#762787 #874627 #388727 #276887
square
#762787 #874627 #388727 #276887
split-complementary
#762787 #688727 #278746
monochromatic
#230C28 #4C1958 #762787 #A035B6 #BA59CF

Accessibility & contrast

On white

8.71
#762787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#762787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762787
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762787#FFFFFF#000000##FFFFFF
##7627871.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468A
Deuteranopia (green-blind)
#2F4E85
Tritanopia (blue-blind)
#763954
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #762787;
/* rgb */ color: rgb(118, 39, 135);
/* oklch */ color: oklch(43.4% 0.163 320.0);
Tailwind
colors: {
  custom: {
    50: '#a169aa',
    500: '#762787',
    950: '#000000',
  },
}
SCSS
$custom: #762787;
$custom-light: #a169aa;
$custom-dark: #000000;
JSON
{
  "hex": "#762787",
  "rgb": {
    "r": 118,
    "g": 39,
    "b": 135
  },
  "hsl": {
    "h": 289.375,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43417,
    "c": 0.16337,
    "h": 320
  },
  "luminance": 0.07052
}

Semantic roles & 50–950 ramp

primary
#762787
secondary
#66B456
accent
#DF4964
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762787

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

Preview Lab → · Contrast checker → · Palette generator →

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