#762F87#762F87

#762F87 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.3% C 0.152 H 319.4°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#762F87
RGBrgb(118, 47, 135)
HSLhsl(288, 48%, 36%)
HSVhsv(288, 65%, 53%)
CMYKcmyk(12.6%, 65.2%, 0%, 47.1%)
CIE-LABlab(33.21, 44.58, -35.49)
CIE-LCHlch(33.21, 56.98, 321.48°)
OKLaboklab(44.34% 0.1156 -0.0991)
OKLCHoklch(44.34% 0.152 319.4)
XYZxyz(12.8603, 7.6344, 23.7132)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762F87 #40872F
analogous
#4A2F87 #762F87 #872F6C
triadic
#762F87 #87762F #2F8776
tetradic
#762F87 #874A2F #40872F #2F6C87
square
#762F87 #874A2F #40872F #2F6C87
split-complementary
#762F87 #6C872F #2F874A
monochromatic
#270F2C #4E1F5A #762F87 #9E3FB4 #B766CA

Accessibility & contrast

On white

8.31
#762F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#762F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762F87
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762F87#FFFFFF#000000##FFFFFF
##762F871.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16498A
Deuteranopia (green-blind)
#355185
Tritanopia (blue-blind)
#763E56
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #762f87;
/* rgb */ color: rgb(118, 47, 135);
/* oklch */ color: oklch(44.3% 0.152 319.4);
Tailwind
colors: {
  custom: {
    50: '#a06daa',
    500: '#762f87',
    950: '#000000',
  },
}
SCSS
$custom: #762f87;
$custom-light: #a06daa;
$custom-dark: #000000;
JSON
{
  "hex": "#762f87",
  "rgb": {
    "r": 118,
    "g": 47,
    "b": 135
  },
  "hsl": {
    "h": 288.409,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44341,
    "c": 0.15228,
    "h": 319.4
  },
  "luminance": 0.07634
}

Semantic roles & 50–950 ramp

primary
#762F87
secondary
#70B161
accent
#D8506A
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762F87

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

Preview Lab → · Contrast checker → · Palette generator →

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