#762A88#762A88

#762A88 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.8% C 0.160 H 319.4°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#762A88
RGBrgb(118, 42, 136)
HSLhsl(289, 53%, 35%)
HSVhsv(289, 69%, 53%)
CMYKcmyk(13.2%, 69.1%, 0%, 46.7%)
CIE-LABlab(32.45, 47.07, -37.32)
CIE-LCHlch(32.45, 60.07, 321.59°)
OKLaboklab(43.81% 0.1217 -0.1044)
OKLCHoklch(43.81% 0.16 319.4)
XYZxyz(12.7425, 7.2856, 24.0228)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762A88 #3C882A
analogous
#472A88 #762A88 #882A6B
triadic
#762A88 #88762A #2A8876
tetradic
#762A88 #88472A #3C882A #2A6B88
square
#762A88 #88472A #3C882A #2A6B88
split-complementary
#762A88 #6B882A #2A8847
monochromatic
#250D2A #4D1C59 #762A88 #9F38B7 #B85FCE

Accessibility & contrast

On white

8.55
#762A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762A88
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762A88#FFFFFF#000000##FFFFFF
##762A881.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05478B
Deuteranopia (green-blind)
#314F86
Tritanopia (blue-blind)
#763B55
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #762a88;
/* rgb */ color: rgb(118, 42, 136);
/* oklch */ color: oklch(43.8% 0.160 319.4);
Tailwind
colors: {
  custom: {
    50: '#a06aab',
    500: '#762a88',
    950: '#000000',
  },
}
SCSS
$custom: #762a88;
$custom-light: #a06aab;
$custom-dark: #000000;
JSON
{
  "hex": "#762a88",
  "rgb": {
    "r": 118,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 288.511,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43812,
    "c": 0.16034,
    "h": 319.4
  },
  "luminance": 0.07285
}

Semantic roles & 50–950 ramp

primary
#762A88
secondary
#6CB35B
accent
#DC4C67
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762A88

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

Preview Lab → · Contrast checker → · Palette generator →

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