#762B7E#762B7E

#762B7E is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.3% C 0.149 H 323.7°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#762B7E
RGBrgb(118, 43, 126)
HSLhsl(294, 49%, 33%)
HSVhsv(294, 66%, 49%)
CMYKcmyk(6.3%, 65.9%, 0%, 50.6%)
CIE-LABlab(32.00, 44.62, -31.80)
CIE-LCHlch(32.00, 54.80, 324.52°)
OKLaboklab(43.3% 0.1205 -0.0884)
OKLCHoklch(43.3% 0.149 323.7)
XYZxyz(12.1006, 7.0863, 20.4650)
Luminance0.0709 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762B7E #337E2B
analogous
#4C2B7E #762B7E #7E2B5C
triadic
#762B7E #7E762B #2B7E76
tetradic
#762B7E #7E4C2B #337E2B #2B5C7E
square
#762B7E #7E4C2B #337E2B #2B5C7E
split-complementary
#762B7E #5C7E2B #2B7E4C
monochromatic
#210C23 #4B1B50 #762B7E #A13BAC #BD5CC7

Accessibility & contrast

On white

8.69
#762B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#762B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762B7E
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762B7E#FFFFFF#000000##FFFFFF
##762B7E1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4680
Deuteranopia (green-blind)
#384E7C
Tritanopia (blue-blind)
#783850
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #762b7e;
/* rgb */ color: rgb(118, 43, 126);
/* oklch */ color: oklch(43.3% 0.149 323.7);
Tailwind
colors: {
  custom: {
    50: '#a06aa4',
    500: '#762b7e',
    950: '#000000',
  },
}
SCSS
$custom: #762b7e;
$custom-light: #a06aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#762b7e",
  "rgb": {
    "r": 118,
    "g": 43,
    "b": 126
  },
  "hsl": {
    "h": 294.217,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43295,
    "c": 0.14939,
    "h": 323.7
  },
  "luminance": 0.07086
}

Semantic roles & 50–950 ramp

primary
#762B7E
secondary
#60AD58
accent
#D94F5C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #762B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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