#762A87#762A87

#762A87 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.7% C 0.159 H 319.8°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#762A87
RGBrgb(118, 42, 135)
HSLhsl(289, 53%, 35%)
HSVhsv(289, 69%, 53%)
CMYKcmyk(12.6%, 68.9%, 0%, 47.1%)
CIE-LABlab(32.39, 46.87, -36.80)
CIE-LCHlch(32.39, 59.59, 321.86°)
OKLaboklab(43.75% 0.1217 -0.1029)
OKLCHoklch(43.75% 0.159 319.8)
XYZxyz(12.6718, 7.2574, 23.6503)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762A87 #3B872A
analogous
#472A87 #762A87 #872A6A
triadic
#762A87 #87762A #2A8776
tetradic
#762A87 #87472A #3B872A #2A6A87
square
#762A87 #87472A #3B872A #2A6A87
split-complementary
#762A87 #6A872A #2A8747
monochromatic
#240D2A #4D1B58 #762A87 #9F39B6 #B95ECD

Accessibility & contrast

On white

8.57
#762A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#762A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762A87
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762A87#FFFFFF#000000##FFFFFF
##762A871.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08478A
Deuteranopia (green-blind)
#314F85
Tritanopia (blue-blind)
#763B55
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #762a87;
/* rgb */ color: rgb(118, 42, 135);
/* oklch */ color: oklch(43.7% 0.159 319.8);
Tailwind
colors: {
  custom: {
    50: '#a06aaa',
    500: '#762a87',
    950: '#000000',
  },
}
SCSS
$custom: #762a87;
$custom-light: #a06aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#762a87",
  "rgb": {
    "r": 118,
    "g": 42,
    "b": 135
  },
  "hsl": {
    "h": 289.032,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43746,
    "c": 0.15938,
    "h": 319.8
  },
  "luminance": 0.07257
}

Semantic roles & 50–950 ramp

primary
#762A87
secondary
#6AB35A
accent
#DC4C66
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762A87

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

Preview Lab → · Contrast checker → · Palette generator →

#762A87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva