#762A7D#762A7D

#762A7D is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.1% C 0.150 H 324.3°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#762A7D
RGBrgb(118, 42, 125)
HSLhsl(295, 50%, 33%)
HSVhsv(295, 66%, 49%)
CMYKcmyk(5.6%, 66.4%, 0%, 51%)
CIE-LABlab(31.78, 44.88, -31.52)
CIE-LCHlch(31.78, 54.85, 324.92°)
OKLaboklab(43.12% 0.1217 -0.0875)
OKLCHoklch(43.12% 0.15 324.3)
XYZxyz(12.0005, 6.9888, 20.1149)
Luminance0.0699 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762A7D #317D2A
analogous
#4D2A7D #762A7D #7D2A5A
triadic
#762A7D #7D762A #2A7D76
tetradic
#762A7D #7D4D2A #317D2A #2A5A7D
square
#762A7D #7D4D2A #317D2A #2A5A7D
split-complementary
#762A7D #5A7D2A #2A7D4D
monochromatic
#200B21 #4B1B4F #762A7D #A139AB #BE5AC8

Accessibility & contrast

On white

8.76
#762A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#762A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762A7D
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762A7D#FFFFFF#000000##FFFFFF
##762A7D1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19457F
Deuteranopia (green-blind)
#384E7B
Tritanopia (blue-blind)
#78374F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #762a7d;
/* rgb */ color: rgb(118, 42, 125);
/* oklch */ color: oklch(43.1% 0.150 324.3);
Tailwind
colors: {
  custom: {
    50: '#a06aa3',
    500: '#762a7d',
    950: '#000000',
  },
}
SCSS
$custom: #762a7d;
$custom-light: #a06aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#762a7d",
  "rgb": {
    "r": 118,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 294.94,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43116,
    "c": 0.1499,
    "h": 324.3
  },
  "luminance": 0.06988
}

Semantic roles & 50–950 ramp

primary
#762A7D
secondary
#5DAD56
accent
#D94F5A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #762A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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