#762A89#762A89

#762A89 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.9% C 0.161 H 318.9°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#762A89
RGBrgb(118, 42, 137)
HSLhsl(288, 53%, 35%)
HSVhsv(288, 69%, 54%)
CMYKcmyk(13.9%, 69.3%, 0%, 46.3%)
CIE-LABlab(32.51, 47.28, -37.84)
CIE-LCHlch(32.51, 60.55, 321.33°)
OKLaboklab(43.88% 0.1216 -0.106)
OKLCHoklch(43.88% 0.161 318.9)
XYZxyz(12.8139, 7.3142, 24.3989)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762A89 #3D892A
analogous
#462A89 #762A89 #892A6D
triadic
#762A89 #89762A #2A8976
tetradic
#762A89 #89462A #3D892A #2A6D89
square
#762A89 #89462A #3D892A #2A6D89
split-complementary
#762A89 #6D892A #2A8946
monochromatic
#250D2B #4E1C5A #762A89 #9E38B8 #B85FCE

Accessibility & contrast

On white

8.53
#762A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#762A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762A89
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762A89#FFFFFF#000000##FFFFFF
##762A891.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02478C
Deuteranopia (green-blind)
#304F87
Tritanopia (blue-blind)
#763B56
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #762a89;
/* rgb */ color: rgb(118, 42, 137);
/* oklch */ color: oklch(43.9% 0.161 318.9);
Tailwind
colors: {
  custom: {
    50: '#a16aac',
    500: '#762a89',
    950: '#000000',
  },
}
SCSS
$custom: #762a89;
$custom-light: #a16aac;
$custom-dark: #000000;
JSON
{
  "hex": "#762a89",
  "rgb": {
    "r": 118,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 288,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43878,
    "c": 0.1613,
    "h": 318.9
  },
  "luminance": 0.07314
}

Semantic roles & 50–950 ramp

primary
#762A89
secondary
#6DB45B
accent
#DC4B68
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762A89

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

Preview Lab → · Contrast checker → · Palette generator →

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