#762487#762487

#762487 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.1% C 0.167 H 320.2°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#762487
RGBrgb(118, 36, 135)
HSLhsl(290, 58%, 34%)
HSVhsv(290, 73%, 53%)
CMYKcmyk(12.6%, 73.3%, 0%, 47.1%)
CIE-LABlab(31.49, 49.38, -38.23)
CIE-LCHlch(31.49, 62.45, 322.26°)
OKLaboklab(43.11% 0.1284 -0.1071)
OKLCHoklch(43.11% 0.167 320.2)
XYZxyz(12.4747, 6.8632, 23.5846)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762487 #358724
analogous
#442487 #762487 #872466
triadic
#762487 #877624 #248776
tetradic
#762487 #874424 #358724 #246687
square
#762487 #874424 #358724 #246687
split-complementary
#762487 #668724 #248744
monochromatic
#220A26 #4C1757 #762487 #A031B7 #BC54D1

Accessibility & contrast

On white

8.85
#762487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#762487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762487
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762487#FFFFFF#000000##FFFFFF
##7624871.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #762487;
/* rgb */ color: rgb(118, 36, 135);
/* oklch */ color: oklch(43.1% 0.167 320.2);
Tailwind
colors: {
  custom: {
    50: '#a167aa',
    500: '#762487',
    950: '#000000',
  },
}
SCSS
$custom: #762487;
$custom-light: #a167aa;
$custom-dark: #000000;
JSON
{
  "hex": "#762487",
  "rgb": {
    "r": 118,
    "g": 36,
    "b": 135
  },
  "hsl": {
    "h": 289.697,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43107,
    "c": 0.16715,
    "h": 320.2
  },
  "luminance": 0.06863
}

Semantic roles & 50–950 ramp

primary
#762487
secondary
#63B551
accent
#E14761
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #762487

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

Preview Lab → · Contrast checker → · Palette generator →

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