#762687#762687

#762687 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.3% C 0.165 H 320.0°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#762687
RGBrgb(118, 38, 135)
HSLhsl(289, 56%, 34%)
HSVhsv(289, 72%, 53%)
CMYKcmyk(12.6%, 71.9%, 0%, 47.1%)
CIE-LABlab(31.78, 48.58, -37.77)
CIE-LCHlch(31.78, 61.53, 322.13°)
OKLaboklab(43.31% 0.1262 -0.1057)
OKLCHoklch(43.31% 0.165 320)
XYZxyz(12.5370, 6.9877, 23.6054)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762687 #378726
analogous
#462687 #762687 #872668
triadic
#762687 #877626 #268776
tetradic
#762687 #874626 #378726 #266887
square
#762687 #874626 #378726 #266887
split-complementary
#762687 #688726 #268746
monochromatic
#230B27 #4C1957 #762687 #A033B7 #BB58D0

Accessibility & contrast

On white

8.76
#762687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#762687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762687
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762687#FFFFFF#000000##FFFFFF
##7626871.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #762687;
/* rgb */ color: rgb(118, 38, 135);
/* oklch */ color: oklch(43.3% 0.165 320.0);
Tailwind
colors: {
  custom: {
    50: '#a168aa',
    500: '#762687',
    950: '#000000',
  },
}
SCSS
$custom: #762687;
$custom-light: #a168aa;
$custom-dark: #000000;
JSON
{
  "hex": "#762687",
  "rgb": {
    "r": 118,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 289.485,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43311,
    "c": 0.16465,
    "h": 320
  },
  "luminance": 0.06987
}

Semantic roles & 50–950 ramp

primary
#762687
secondary
#65B554
accent
#DF4863
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762687

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

Preview Lab → · Contrast checker → · Palette generator →

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