#762D7B#762D7B

#762D7B is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.4% C 0.144 H 325.1°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#762D7B
RGBrgb(118, 45, 123)
HSLhsl(296, 46%, 33%)
HSVhsv(296, 63%, 48%)
CMYKcmyk(4.1%, 63.4%, 0%, 51.8%)
CIE-LABlab(32.17, 43.11, -29.66)
CIE-LCHlch(32.17, 52.33, 325.47°)
OKLaboklab(43.36% 0.1178 -0.0822)
OKLCHoklch(43.36% 0.144 325.1)
XYZxyz(11.9845, 7.1591, 19.4856)
Luminance0.0716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762D7B #327B2D
analogous
#4F2D7B #762D7B #7B2D59
triadic
#762D7B #7B762D #2D7B76
tetradic
#762D7B #7B4F2D #327B2D #2D597B
square
#762D7B #7B4F2D #327B2D #2D597B
split-complementary
#762D7B #597B2D #2D7B4F
monochromatic
#200C21 #4B1D4E #762D7B #A13DA8 #BE5EC4

Accessibility & contrast

On white

8.64
#762D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#762D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762D7B
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762D7B#FFFFFF#000000##FFFFFF
##762D7B1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20467D
Deuteranopia (green-blind)
#3B4F79
Tritanopia (blue-blind)
#79384F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #762d7b;
/* rgb */ color: rgb(118, 45, 123);
/* oklch */ color: oklch(43.4% 0.144 325.1);
Tailwind
colors: {
  custom: {
    50: '#a06ba1',
    500: '#762d7b',
    950: '#000000',
  },
}
SCSS
$custom: #762d7b;
$custom-light: #a06ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#762d7b",
  "rgb": {
    "r": 118,
    "g": 45,
    "b": 123
  },
  "hsl": {
    "h": 296.154,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43358,
    "c": 0.14359,
    "h": 325.1
  },
  "luminance": 0.07158
}

Semantic roles & 50–950 ramp

primary
#762D7B
secondary
#5EAB59
accent
#D6525A
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #762D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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