#762387#762387

#762387 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.168 H 320.2°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#762387
RGBrgb(118, 35, 135)
HSLhsl(290, 59%, 33%)
HSVhsv(290, 74%, 53%)
CMYKcmyk(12.6%, 74.1%, 0%, 47.1%)
CIE-LABlab(31.36, 49.78, -38.45)
CIE-LCHlch(31.36, 62.90, 322.32°)
OKLaboklab(43.01% 0.1294 -0.1077)
OKLCHoklch(43.01% 0.168 320.2)
XYZxyz(12.4449, 6.8035, 23.5747)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762387 #348723
analogous
#442387 #762387 #872366
triadic
#762387 #877623 #238776
tetradic
#762387 #874423 #348723 #236687
square
#762387 #874423 #348723 #236687
split-complementary
#762387 #668723 #238744
monochromatic
#210A26 #4C1656 #762387 #A030B8 #BC52D2

Accessibility & contrast

On white

8.90
#762387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#762387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762387
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762387#FFFFFF#000000##FFFFFF
##7623871.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #762387;
/* rgb */ color: rgb(118, 35, 135);
/* oklch */ color: oklch(43.0% 0.168 320.2);
Tailwind
colors: {
  custom: {
    50: '#a167aa',
    500: '#762387',
    950: '#000000',
  },
}
SCSS
$custom: #762387;
$custom-light: #a167aa;
$custom-dark: #000000;
JSON
{
  "hex": "#762387",
  "rgb": {
    "r": 118,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 289.8,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43009,
    "c": 0.16836,
    "h": 320.2
  },
  "luminance": 0.06803
}

Semantic roles & 50–950 ramp

primary
#762387
secondary
#61B650
accent
#E24660
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #762387

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

Preview Lab → · Contrast checker → · Palette generator →

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