#762A8B#762A8B

#762A8B is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.0% C 0.163 H 318.1°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#762A8B
RGBrgb(118, 42, 139)
HSLhsl(287, 54%, 35%)
HSVhsv(287, 70%, 55%)
CMYKcmyk(15.1%, 69.8%, 0%, 45.5%)
CIE-LABlab(32.64, 47.69, -38.87)
CIE-LCHlch(32.64, 61.52, 320.82°)
OKLaboklab(44.01% 0.1215 -0.109)
OKLCHoklch(44.01% 0.163 318.1)
XYZxyz(12.9587, 7.3721, 25.1615)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762A8B #3F8B2A
analogous
#452A8B #762A8B #8B2A6F
triadic
#762A8B #8B762A #2A8B76
tetradic
#762A8B #8B452A #3F8B2A #2A6F8B
square
#762A8B #8B452A #3F8B2A #2A6F8B
split-complementary
#762A8B #6F8B2A #2A8B45
monochromatic
#260E2D #4E1C5C #762A8B #9E38BA #B760CF

Accessibility & contrast

On white

8.49
#762A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#762A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762A8B
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762A8B#FFFFFF#000000##FFFFFF
##762A8B1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#2E4F89
Tritanopia (blue-blind)
#763C57
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #762a8b;
/* rgb */ color: rgb(118, 42, 139);
/* oklch */ color: oklch(44.0% 0.163 318.1);
Tailwind
colors: {
  custom: {
    50: '#a16aad',
    500: '#762a8b',
    950: '#000000',
  },
}
SCSS
$custom: #762a8b;
$custom-light: #a16aad;
$custom-dark: #000000;
JSON
{
  "hex": "#762a8b",
  "rgb": {
    "r": 118,
    "g": 42,
    "b": 139
  },
  "hsl": {
    "h": 287.01,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4401,
    "c": 0.16323,
    "h": 318.1
  },
  "luminance": 0.07372
}

Semantic roles & 50–950 ramp

primary
#762A8B
secondary
#6FB55C
accent
#DD4B6A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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