#762D7E#762D7E

#762D7E is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.5% C 0.146 H 323.6°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#762D7E
RGBrgb(118, 45, 126)
HSLhsl(294, 47%, 34%)
HSVhsv(294, 64%, 49%)
CMYKcmyk(6.3%, 64.3%, 0%, 50.6%)
CIE-LABlab(32.34, 43.70, -31.27)
CIE-LCHlch(32.34, 53.73, 324.41°)
OKLaboklab(43.54% 0.1179 -0.0868)
OKLCHoklch(43.54% 0.146 323.6)
XYZxyz(12.1752, 7.2354, 20.4899)
Luminance0.0723 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762D7E #357E2D
analogous
#4D2D7E #762D7E #7E2D5D
triadic
#762D7E #7E762D #2D7E76
tetradic
#762D7E #7E4D2D #357E2D #2D5D7E
square
#762D7E #7E4D2D #357E2D #2D5D7E
split-complementary
#762D7E #5D7E2D #2D7E4D
monochromatic
#220D24 #4C1D51 #762D7E #A03DAB #BC5FC6

Accessibility & contrast

On white

8.58
#762D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#762D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762D7E
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762D7E#FFFFFF#000000##FFFFFF
##762D7E1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4680
Deuteranopia (green-blind)
#394F7C
Tritanopia (blue-blind)
#783951
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #762d7e;
/* rgb */ color: rgb(118, 45, 126);
/* oklch */ color: oklch(43.5% 0.146 323.6);
Tailwind
colors: {
  custom: {
    50: '#a06ba4',
    500: '#762d7e',
    950: '#000000',
  },
}
SCSS
$custom: #762d7e;
$custom-light: #a06ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#762d7e",
  "rgb": {
    "r": 118,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 294.074,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43537,
    "c": 0.14645,
    "h": 323.6
  },
  "luminance": 0.07235
}

Semantic roles & 50–950 ramp

primary
#762D7E
secondary
#63AC5A
accent
#D7515E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #762D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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