#762887#762887

#762887 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.5% C 0.162 H 319.9°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#762887
RGBrgb(118, 40, 135)
HSLhsl(289, 54%, 34%)
HSVhsv(289, 70%, 53%)
CMYKcmyk(12.6%, 70.4%, 0%, 47.1%)
CIE-LABlab(32.08, 47.74, -37.29)
CIE-LCHlch(32.08, 60.58, 322.00°)
OKLaboklab(43.52% 0.124 -0.1044)
OKLCHoklch(43.52% 0.162 319.9)
XYZxyz(12.6026, 7.1190, 23.6272)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762887 #398728
analogous
#472887 #762887 #872869
triadic
#762887 #877628 #288776
tetradic
#762887 #874728 #398728 #286987
square
#762887 #874728 #398728 #286987
split-complementary
#762887 #698728 #288747
monochromatic
#230C29 #4D1A58 #762887 #9F36B6 #BA5BCE

Accessibility & contrast

On white

8.66
#762887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#762887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762887
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762887#FFFFFF#000000##FFFFFF
##7628871.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01468A
Deuteranopia (green-blind)
#304E85
Tritanopia (blue-blind)
#763954
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #762887;
/* rgb */ color: rgb(118, 40, 135);
/* oklch */ color: oklch(43.5% 0.162 319.9);
Tailwind
colors: {
  custom: {
    50: '#a169aa',
    500: '#762887',
    950: '#000000',
  },
}
SCSS
$custom: #762887;
$custom-light: #a169aa;
$custom-dark: #000000;
JSON
{
  "hex": "#762887",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 135
  },
  "hsl": {
    "h": 289.263,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43524,
    "c": 0.16206,
    "h": 319.9
  },
  "luminance": 0.07118
}

Semantic roles & 50–950 ramp

primary
#762887
secondary
#68B457
accent
#DE4A65
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762887

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

Preview Lab → · Contrast checker → · Palette generator →

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