#762E8D#762E8D

#762E8D is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.6% C 0.160 H 317.0°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#762E8D
RGBrgb(118, 46, 141)
HSLhsl(285, 51%, 37%)
HSVhsv(285, 67%, 55%)
CMYKcmyk(16.3%, 67.4%, 0%, 44.7%)
CIE-LABlab(33.41, 46.31, -38.87)
CIE-LCHlch(33.41, 60.45, 319.99°)
OKLaboklab(44.61% 0.1167 -0.109)
OKLCHoklch(44.61% 0.16 317)
XYZxyz(13.2552, 7.7292, 25.9878)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762E8D #458D2E
analogous
#472E8D #762E8D #8D2E75
triadic
#762E8D #8D762E #2E8D76
tetradic
#762E8D #8D472E #458D2E #2E758D
square
#762E8D #8D472E #458D2E #2E758D
split-complementary
#762E8D #758D2E #2E8D47
monochromatic
#291031 #4F1F5F #762E8D #9D3DBB #B568CE

Accessibility & contrast

On white

8.25
#762E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#762E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762E8D
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762E8D#FFFFFF#000000##FFFFFF
##762E8D1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064A90
Deuteranopia (green-blind)
#30518B
Tritanopia (blue-blind)
#754059
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #762e8d;
/* rgb */ color: rgb(118, 46, 141);
/* oklch */ color: oklch(44.6% 0.160 317.0);
Tailwind
colors: {
  custom: {
    50: '#a06caf',
    500: '#762e8d',
    950: '#000000',
  },
}
SCSS
$custom: #762e8d;
$custom-light: #a06caf;
$custom-dark: #000000;
JSON
{
  "hex": "#762e8d",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 285.474,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44606,
    "c": 0.15972,
    "h": 317
  },
  "luminance": 0.07729
}

Semantic roles & 50–950 ramp

primary
#762E8D
secondary
#76B562
accent
#DA4E70
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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