#762587#762587

#762587 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.166 H 320.1°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#762587
RGBrgb(118, 37, 135)
HSLhsl(290, 57%, 34%)
HSVhsv(290, 73%, 53%)
CMYKcmyk(12.6%, 72.6%, 0%, 47.1%)
CIE-LABlab(31.63, 48.98, -38.00)
CIE-LCHlch(31.63, 62.00, 322.20°)
OKLaboklab(43.21% 0.1273 -0.1064)
OKLCHoklch(43.21% 0.166 320.1)
XYZxyz(12.5054, 6.9246, 23.5948)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762587 #368725
analogous
#452587 #762587 #872567
triadic
#762587 #877625 #258776
tetradic
#762587 #874525 #368725 #256787
square
#762587 #874525 #368725 #256787
split-complementary
#762587 #678725 #258745
monochromatic
#220B27 #4C1857 #762587 #A032B7 #BB56D1

Accessibility & contrast

On white

8.81
#762587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#762587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762587
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762587#FFFFFF#000000##FFFFFF
##7625871.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#2E4D85
Tritanopia (blue-blind)
#763753
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #762587;
/* rgb */ color: rgb(118, 37, 135);
/* oklch */ color: oklch(43.2% 0.166 320.1);
Tailwind
colors: {
  custom: {
    50: '#a168aa',
    500: '#762587',
    950: '#000000',
  },
}
SCSS
$custom: #762587;
$custom-light: #a168aa;
$custom-dark: #000000;
JSON
{
  "hex": "#762587",
  "rgb": {
    "r": 118,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 289.592,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43208,
    "c": 0.16592,
    "h": 320.1
  },
  "luminance": 0.06924
}

Semantic roles & 50–950 ramp

primary
#762587
secondary
#64B553
accent
#E04862
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #762587

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

Preview Lab → · Contrast checker → · Palette generator →

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