#762C87#762C87

#762C87 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.0% C 0.157 H 319.6°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#762C87
RGBrgb(118, 44, 135)
HSLhsl(289, 51%, 35%)
HSVhsv(289, 67%, 53%)
CMYKcmyk(12.6%, 67.4%, 0%, 47.1%)
CIE-LABlab(32.71, 45.97, -36.29)
CIE-LCHlch(32.71, 58.57, 321.72°)
OKLaboklab(43.98% 0.1193 -0.1014)
OKLCHoklch(43.98% 0.157 319.6)
XYZxyz(12.7445, 7.4028, 23.6745)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762C87 #3D872C
analogous
#482C87 #762C87 #872C6B
triadic
#762C87 #87762C #2C8776
tetradic
#762C87 #87482C #3D872C #2C6B87
square
#762C87 #87482C #3D872C #2C6B87
split-complementary
#762C87 #6B872C #2C8748
monochromatic
#250E2B #4E1D59 #762C87 #9E3BB5 #B862CC

Accessibility & contrast

On white

8.47
#762C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#762C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762C87
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762C87#FFFFFF#000000##FFFFFF
##762C871.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E488A
Deuteranopia (green-blind)
#334F85
Tritanopia (blue-blind)
#763C55
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #762c87;
/* rgb */ color: rgb(118, 44, 135);
/* oklch */ color: oklch(44.0% 0.157 319.6);
Tailwind
colors: {
  custom: {
    50: '#a06baa',
    500: '#762c87',
    950: '#000000',
  },
}
SCSS
$custom: #762c87;
$custom-light: #a06baa;
$custom-dark: #000000;
JSON
{
  "hex": "#762c87",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 135
  },
  "hsl": {
    "h": 288.791,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43978,
    "c": 0.1566,
    "h": 319.6
  },
  "luminance": 0.07402
}

Semantic roles & 50–950 ramp

primary
#762C87
secondary
#6DB25D
accent
#DA4D68
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762C87

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

Preview Lab → · Contrast checker → · Palette generator →

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