#762F8D#762F8D

#762F8D is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.7% C 0.158 H 316.9°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#762F8D
RGBrgb(118, 47, 141)
HSLhsl(285, 50%, 37%)
HSVhsv(285, 67%, 55%)
CMYKcmyk(16.3%, 66.7%, 0%, 44.7%)
CIE-LABlab(33.58, 45.84, -38.60)
CIE-LCHlch(33.58, 59.93, 319.90°)
OKLaboklab(44.73% 0.1155 -0.1082)
OKLCHoklch(44.73% 0.158 316.9)
XYZxyz(13.2947, 7.8082, 26.0010)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762F8D #468D2F
analogous
#472F8D #762F8D #8D2F75
triadic
#762F8D #8D762F #2F8D76
tetradic
#762F8D #8D472F #468D2F #2F758D
square
#762F8D #8D472F #468D2F #2F758D
split-complementary
#762F8D #758D2F #2F8D47
monochromatic
#291031 #50205F #762F8D #9C3EBB #B569CD

Accessibility & contrast

On white

8.20
#762F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#762F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762F8D
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762F8D#FFFFFF#000000##FFFFFF
##762F8D1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4B90
Deuteranopia (green-blind)
#31518B
Tritanopia (blue-blind)
#75405A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #762f8d;
/* rgb */ color: rgb(118, 47, 141);
/* oklch */ color: oklch(44.7% 0.158 316.9);
Tailwind
colors: {
  custom: {
    50: '#a06daf',
    500: '#762f8d',
    950: '#000000',
  },
}
SCSS
$custom: #762f8d;
$custom-light: #a06daf;
$custom-dark: #000000;
JSON
{
  "hex": "#762f8d",
  "rgb": {
    "r": 118,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 285.319,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44727,
    "c": 0.1583,
    "h": 316.9
  },
  "luminance": 0.07808
}

Semantic roles & 50–950 ramp

primary
#762F8D
secondary
#77B464
accent
#DA4E70
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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